Unit Tests
- Fixed bug in TAP 'diag' output generation, which was missing a newline.
This commit is contained in:
@@ -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 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::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";
|
||||||
}
|
}
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user