From 109f46a48b2067d26b1dd945eb4123e6e102d73f Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Mon, 1 Jul 2013 19:00:55 +0100 Subject: [PATCH] Fixed broken test --- projects/SelfTest/TrickyTests.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/projects/SelfTest/TrickyTests.cpp b/projects/SelfTest/TrickyTests.cpp index 0a81ad83..27e1b8fd 100644 --- a/projects/SelfTest/TrickyTests.cpp +++ b/projects/SelfTest/TrickyTests.cpp @@ -361,7 +361,7 @@ class ClassName {}; TEST_CASE( "pointer to class", "" ) { ClassName *p = 0; - REQUIRE( p != 0 ); + REQUIRE( p == 0 ); } #ifdef CATCH_CONFIG_CPP11_NULLPTR @@ -375,3 +375,8 @@ TEST_CASE( "null_ptr", "" ) } #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("");}