From 69933626aa4673683ae385d012bb15bf3bd02ed4 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 14 Dec 2013 12:54:47 -0500 Subject: [PATCH] Unit Tests - Corrected test output for skipped, pass and fail tests. --- test/test.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/test/test.cpp b/test/test.cpp index 74721b0d7..8aab28721 100644 --- a/test/test.cpp +++ b/test/test.cpp @@ -25,10 +25,8 @@ // //////////////////////////////////////////////////////////////////////////////// -#include #include #include -#include #include #include #include @@ -405,7 +403,7 @@ void UnitTest::pass (const std::string& text) ++_passed; std::cout << "ok " << _counter - << " " + << " - " << text << "\n"; } @@ -417,7 +415,7 @@ void UnitTest::fail (const std::string& text) ++_failed; std::cout << "not ok " << _counter - << " " + << " - " << text << "\n"; } @@ -429,7 +427,7 @@ void UnitTest::skip (const std::string& text) ++_skipped; std::cout << "skip " << _counter - << " " + << " - " << text << "\n"; }