mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-14 17:35:39 +02:00
Fixed !shouldfail
This commit is contained in:
@@ -101,7 +101,7 @@ TEST_CASE( "Inequality checks that should succeed", "" )
|
||||
REQUIRE( data.str_hello.size() != 6 );
|
||||
}
|
||||
|
||||
TEST_CASE( "Inequality checks that should fail", "[.][failing]" )
|
||||
TEST_CASE( "Inequality checks that should fail", "[.][failing][!shouldfail]" )
|
||||
{
|
||||
TestData data;
|
||||
|
||||
|
@@ -480,3 +480,8 @@ TEST_CASE( "long long" ) {
|
||||
// CHECK( x == 0 );
|
||||
// }
|
||||
//}
|
||||
|
||||
TEST_CASE( "This test 'should' fail but doesn't", "[.][failing][!shouldfail]" )
|
||||
{
|
||||
SUCCEED( "oops!" );
|
||||
}
|
||||
|
Reference in New Issue
Block a user