Fixed broken test

This commit is contained in:
Phil Nash 2013-07-01 19:00:55 +01:00
parent 066a6388d6
commit 109f46a48b

View File

@ -361,7 +361,7 @@ class ClassName {};
TEST_CASE( "pointer to class", "" ) TEST_CASE( "pointer to class", "" )
{ {
ClassName *p = 0; ClassName *p = 0;
REQUIRE( p != 0 ); REQUIRE( p == 0 );
} }
#ifdef CATCH_CONFIG_CPP11_NULLPTR #ifdef CATCH_CONFIG_CPP11_NULLPTR
@ -375,3 +375,8 @@ TEST_CASE( "null_ptr", "" )
} }
#endif #endif
TEST_CASE( "X/level/0/a", "" ) { SUCCEED(""); }
TEST_CASE( "X/level/0/b", "[fizz]" ) { SUCCEED(""); }
TEST_CASE( "X/level/1/a", "" ) { SUCCEED(""); }
TEST_CASE( "X/level/1/b", "" ) { SUCCEED("");}