mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 12:17:11 +01:00 
			
		
		
		
	Fixed self test
This commit is contained in:
		| @@ -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 ); | ||||
|      | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash