Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Fixed broken test

Commit
109f46a48b2067d26b1dd945eb4123e6e102d73f
Author
Phil Nash ·
Parents
066a6388d677

Files · Download .tar.gz

Changes

 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("");}