Fixed !shouldfail

This commit is contained in:
Phil Nash
2016-03-14 19:13:34 +00:00
parent 65b768aad7
commit c65b00f73e
4 changed files with 12 additions and 2 deletions

View File

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

View File

@@ -480,3 +480,8 @@ TEST_CASE( "long long" ) {
// CHECK( x == 0 );
// }
//}
TEST_CASE( "This test 'should' fail but doesn't", "[.][failing][!shouldfail]" )
{
SUCCEED( "oops!" );
}