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 self test

Commit
6bfc1b6016e1f0037b91edd26ddd2765102a5a8c
Author
Phil Nash ·
Parents
65e4111c31b4

Files · Download .tar.gz

Changes

 Test/MiscTests.cpp | 2 +-
 Test/TestMain.cpp  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Test/MiscTests.cpp b/Test/MiscTests.cpp
index 233944bb..52d00141 100644
--- a/Test/MiscTests.cpp
+++ b/Test/MiscTests.cpp
@@ -47,7 +47,7 @@ TEST_CASE( "./succeeding/Misc/Sections/nested", "nested SECTION tests" )
     }
 }
 
-TEST_CASE( "./succeeding/Misc/Sections/nested2", "nested SECTION tests" )
+TEST_CASE( "./mixed/Misc/Sections/nested2", "nested SECTION tests" )
 {
     int a = 1;
     int b = 2;
diff --git a/Test/TestMain.cpp b/Test/TestMain.cpp
index 05c5f1c7..7db62baa 100644
--- a/Test/TestMain.cpp
+++ b/Test/TestMain.cpp
@@ -20,7 +20,7 @@ TEST_CASE( "selftest/main", "Runs all Catch self tests and checks their results"
 
     runner.runMatching( "./succeeding/*" );
     INFO( runner.getOutput() );
-    CHECK( runner.getSuccessCount() == 196 );
+    CHECK( runner.getSuccessCount() == 197 );
     CHECK( runner.getFailureCount() == 0 );
 
     runner.runMatching( "./failing/*" );        
@@ -33,7 +33,7 @@ TEST_CASE( "meta/Misc/Sections", "looped tests" )
 {
     Catch::EmbeddedRunner runner;
     
-    runner.runMatching( "./succeeding/Misc/Sections/nested2" );
+    runner.runMatching( "./mixed/Misc/Sections/nested2" );
     CHECK( runner.getSuccessCount() == 9 );
     CHECK( runner.getFailureCount() == 2 );