mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 04:07:10 +01:00 
			
		
		
		
	Add test for !shouldfail and failed benchmarks
This commit is contained in:
		| @@ -433,3 +433,8 @@ TEST_CASE("Failing benchmarks", "[!benchmark][.approvals]") { | ||||
|         }; | ||||
|     } | ||||
| } | ||||
|  | ||||
| TEST_CASE( "Failing benchmark respects should-fail", | ||||
|            "[!shouldfail][!benchmark][.approvals]" ) { | ||||
|     BENCHMARK( "Asserting benchmark" ) { REQUIRE( 1 == 2 ); }; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský