aboutsummaryrefslogtreecommitdiffstats
path: root/tests/SelfTest/IntrospectiveTests/AssertionHandler.tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/SelfTest/IntrospectiveTests/AssertionHandler.tests.cpp')
-rw-r--r--tests/SelfTest/IntrospectiveTests/AssertionHandler.tests.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/SelfTest/IntrospectiveTests/AssertionHandler.tests.cpp b/tests/SelfTest/IntrospectiveTests/AssertionHandler.tests.cpp
new file mode 100644
index 0000000..ab09607
--- /dev/null
+++ b/tests/SelfTest/IntrospectiveTests/AssertionHandler.tests.cpp
@@ -0,0 +1,17 @@
+
+// Copyright Catch2 Authors
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE.txt or copy at
+// https://www.boost.org/LICENSE_1_0.txt)
+
+// SPDX-License-Identifier: BSL-1.0
+
+#include <catch2/catch_test_macros.hpp>
+
+TEST_CASE( "Incomplete AssertionHandler", "[assertion-handler][!shouldfail]" ) {
+ Catch::AssertionHandler catchAssertionHandler(
+ "REQUIRE"_catch_sr,
+ CATCH_INTERNAL_LINEINFO,
+ "Dummy",
+ Catch::ResultDisposition::Normal );
+}