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
- Commit
b6573c3361bf1c12201da437e009e269e9fc65e7- Author
- Martin Hořeňovský ·
- Committer
- Leitwolf11
- Parents
c80e8c9265df
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]" ) {