Unit Tests

- Fixed bug in TAP 'diag' output generation, which was missing a newline.
This commit is contained in:
Paul Beckingham 2012-01-05 23:29:33 -05:00
parent 938a33f236
commit 0215e708ad

View file

@ -393,7 +393,7 @@ void UnitTest::diag (const std::string& text)
{
std::string::size_type start = text.find_first_not_of (" \t\n\r\f");
std::string::size_type end = text.find_last_not_of (" \t\n\r\f");
std::cout << "# " << text.substr (start, end - start + 1);
std::cout << "# " << text.substr (start, end - start + 1) << "\n";
}
///////////////////////////////////////////////////////////////////////////////