diff options
| author | Phil Nash | 2011-02-28 08:18:52 +0000 |
|---|---|---|
| committer | Phil Nash | 2011-02-28 08:18:52 +0000 |
| commit | 088d700315086637a703d2506315c7d5f5b4fdb2 (patch) | |
| tree | 7a1756b111a5e2c8dab4223389c6ff3bdc5785b4 /Test/TestMain.cpp | |
| parent | 7fe330f07851b466d8cb3dce8ba856e961cdea96 (diff) | |
| download | catch3-088d700315086637a703d2506315c7d5f5b4fdb2.tar.gz | |
Fixed lazy reporting for nested sections
Diffstat (limited to 'Test/TestMain.cpp')
| -rw-r--r-- | Test/TestMain.cpp | 6 |
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 ); } |