From 0215e708ade7830340ca3f0dde357d002f895a17 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Thu, 5 Jan 2012 23:29:33 -0500 Subject: [PATCH] Unit Tests - Fixed bug in TAP 'diag' output generation, which was missing a newline. --- test/test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.cpp b/test/test.cpp index eb3629e9f..e5cddaa0e 100644 --- a/test/test.cpp +++ b/test/test.cpp @@ -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"; } ///////////////////////////////////////////////////////////////////////////////