mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 03:43:28 +01:00
Fixed self test
This commit is contained in:
parent
65e4111c31
commit
6bfc1b6016
@ -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;
|
||||
|
@ -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 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user