Fixed self test

This commit is contained in:
Phil Nash 2011-02-21 18:50:35 +00:00
parent 65e4111c31
commit 6bfc1b6016
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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 );