Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix stats bug

fix that it counts all test case as pass.
  • Loading branch information...
commit 849aff857ff2e8410388bf68b77ec1a113bbdf9c 1 parent e84c53f
@resty-daze authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/cpput.cc
View
1  src/cpput.cc
@@ -68,6 +68,7 @@ TestResult& TestResult::inst() {
void TestResult::addFailure(const Failure& f) {
fprintf(stderr, "[FAIL] %s.%s\n", groupName.c_str(), f.toString().c_str());
++numFailure;
+ TestRegistry::inst().notifyFail();
}
void TestResult::print() {
Please sign in to comment.
Something went wrong with that request. Please try again.