Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/Test/TestMain.cpp
diff options
context:
space:
mode:
authorPhil Nash2011-02-28 08:18:52 +0000
committerPhil Nash2011-02-28 08:18:52 +0000
commit088d700315086637a703d2506315c7d5f5b4fdb2 (patch)
tree7a1756b111a5e2c8dab4223389c6ff3bdc5785b4 /Test/TestMain.cpp
parent7fe330f07851b466d8cb3dce8ba856e961cdea96 (diff)
downloadcatch3-088d700315086637a703d2506315c7d5f5b4fdb2.tar.gz
Fixed lazy reporting for nested sections
Diffstat (limited to 'Test/TestMain.cpp')
-rw-r--r--Test/TestMain.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Test/TestMain.cpp b/Test/TestMain.cpp
index 7db62baa..04855fc8 100644
--- a/Test/TestMain.cpp
+++ b/Test/TestMain.cpp
@@ -20,7 +20,7 @@ TEST_CASE( "selftest/main", "Runs all Catch self tests and checks their results"
runner.runMatching( "./succeeding/*" );
INFO( runner.getOutput() );
- CHECK( runner.getSuccessCount() == 197 );
+ CHECK( runner.getSuccessCount() == 199 );
CHECK( runner.getFailureCount() == 0 );
runner.runMatching( "./failing/*" );
@@ -34,7 +34,7 @@ TEST_CASE( "meta/Misc/Sections", "looped tests" )
Catch::EmbeddedRunner runner;
runner.runMatching( "./mixed/Misc/Sections/nested2" );
- CHECK( runner.getSuccessCount() == 9 );
- CHECK( runner.getFailureCount() == 2 );
+ CHECK( runner.getSuccessCount() == 2 );
+ CHECK( runner.getFailureCount() == 1 );
}