Skip to content

Commit

Permalink
Simplification of else.
Browse files Browse the repository at this point in the history
  • Loading branch information
murrekatt committed Oct 5, 2014
1 parent 04ce61c commit 51947bf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions TestHarness.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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&)
Expand Down

0 comments on commit 51947bf

Please sign in to comment.