Unit Tests
- Corrected output for skipped, pass and fail tests.
This commit is contained in:
@@ -403,7 +403,7 @@ void UnitTest::pass (const std::string& text)
|
||||
++_passed;
|
||||
std::cout << "ok "
|
||||
<< _counter
|
||||
<< " "
|
||||
<< " - "
|
||||
<< text
|
||||
<< "\n";
|
||||
}
|
||||
@@ -415,7 +415,7 @@ void UnitTest::fail (const std::string& text)
|
||||
++_failed;
|
||||
std::cout << "not ok "
|
||||
<< _counter
|
||||
<< " "
|
||||
<< " - "
|
||||
<< text
|
||||
<< "\n";
|
||||
}
|
||||
@@ -427,7 +427,7 @@ void UnitTest::skip (const std::string& text)
|
||||
++_skipped;
|
||||
std::cout << "skip "
|
||||
<< _counter
|
||||
<< " "
|
||||
<< " - "
|
||||
<< text
|
||||
<< "\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user