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

Remove an unreachable assertion in Exception.tests.cpp

Upstream-commit: catchorg/Catch2@d4a645c0d93ad7a34e16ff9a15f93d1742c4d20f
Commit
b6573c3361bf1c12201da437e009e269e9fc65e7
Author
Martin Hořeňovský ·
Committer
Leitwolf11
Parents
c80e8c9265df

Files · Download .tar.gz

Changes

 tests/SelfTest/UsageTests/Exception.tests.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/SelfTest/UsageTests/Exception.tests.cpp b/tests/SelfTest/UsageTests/Exception.tests.cpp
index 2faf6c5d..a9c8ea0d 100644
--- a/tests/SelfTest/UsageTests/Exception.tests.cpp
+++ b/tests/SelfTest/UsageTests/Exception.tests.cpp
@@ -181,7 +181,6 @@ TEST_CASE( "Exception messages can be tested for", "[!throws]" ) {
 TEST_CASE( "Mismatching exception messages failing the test", "[.][failing][!throws]" ) {
     REQUIRE_THROWS_WITH( thisThrows(), "expected exception" );
     REQUIRE_THROWS_WITH( thisThrows(), "should fail" );
-    REQUIRE_THROWS_WITH( thisThrows(), "expected exception" );
 }
 
 TEST_CASE( "#748 - captures with unexpected exceptions", "[.][failing][!throws][!shouldfail]" ) {