diff --git a/TestHarness.hpp b/TestHarness.hpp index 1bdcdd0..19756b5 100644 --- a/TestHarness.hpp +++ b/TestHarness.hpp @@ -101,10 +101,7 @@ class TextResultWriter : public ResultWriter std::cout << "\nAll tests pass.\n"; return; } - else - { - std::cout << "\n" << failures_ << " out of " << testCount_ << " tests failed.\n"; - } + std::cout << "\n" << failures_ << " out of " << testCount_ << " tests failed.\n"; } virtual void startTest(const std::string&, const std::string&)