From 6bfc1b6016e1f0037b91edd26ddd2765102a5a8c Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Mon, 21 Feb 2011 18:50:35 +0000 Subject: [PATCH] Fixed self test --- Test/MiscTests.cpp | 2 +- Test/TestMain.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Test/MiscTests.cpp b/Test/MiscTests.cpp index 233944bb..52d00141 100644 --- a/Test/MiscTests.cpp +++ b/Test/MiscTests.cpp @@ -47,7 +47,7 @@ TEST_CASE( "./succeeding/Misc/Sections/nested", "nested SECTION tests" ) } } -TEST_CASE( "./succeeding/Misc/Sections/nested2", "nested SECTION tests" ) +TEST_CASE( "./mixed/Misc/Sections/nested2", "nested SECTION tests" ) { int a = 1; int b = 2; diff --git a/Test/TestMain.cpp b/Test/TestMain.cpp index 05c5f1c7..7db62baa 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() == 196 ); + CHECK( runner.getSuccessCount() == 197 ); CHECK( runner.getFailureCount() == 0 ); runner.runMatching( "./failing/*" ); @@ -33,7 +33,7 @@ TEST_CASE( "meta/Misc/Sections", "looped tests" ) { Catch::EmbeddedRunner runner; - runner.runMatching( "./succeeding/Misc/Sections/nested2" ); + runner.runMatching( "./mixed/Misc/Sections/nested2" ); CHECK( runner.getSuccessCount() == 9 ); CHECK( runner.getFailureCount() == 2 );