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 useless test
- Commit
74e0e737a60d684d660cd2d8c9c0e9bee5e8f56b- Author
- Martin Hořeňovský ·
- Parents
0685216175f8
Changes
projects/SelfTest/UsageTests/Tricky.tests.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/projects/SelfTest/UsageTests/Tricky.tests.cpp b/projects/SelfTest/UsageTests/Tricky.tests.cpp index d8e5465b..55fe6230 100644 --- a/projects/SelfTest/UsageTests/Tricky.tests.cpp +++ b/projects/SelfTest/UsageTests/Tricky.tests.cpp @@ -390,12 +390,6 @@ TEST_CASE("Commas in various macros are allowed") { } } -TEST_CASE( "null deref", "[.][failing][!nonportable]" ) { - CHECK( false ); - int *x = NULL; - *x = 1; -} - TEST_CASE( "non-copyable objects", "[.][failing]" ) { // Thanks to Agustin Bergé (@k-ballo on the cpplang Slack) for raising this std::type_info const& ti = typeid(int);