]> git.tdb.fi Git - libs/test.git/blobdiff - source/test.cpp
Don't use ++ with a bool
[libs/test.git] / source / test.cpp
index a05349b594604a869b1729acf25f5894dad4c94d..910853f28da5dcf6da2e42a3ebde74b806bce513 100644 (file)
@@ -126,7 +126,7 @@ void Test::start_test(const string &descr)
 void Test::pass_test()
 {
        IO::print("\033[32mok\033[0m\n");
-       ++passed;
+       passed = true;
 }
 
 void Test::fail_test(const string &why)