diff options
Diffstat (limited to 'examples/all_features/stringification.cpp')
-rw-r--r-- | examples/all_features/stringification.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/all_features/stringification.cpp b/examples/all_features/stringification.cpp index adca1e7f..2add560d 100644 --- a/examples/all_features/stringification.cpp +++ b/examples/all_features/stringification.cpp @@ -151,6 +151,8 @@ TEST_CASE("all asserts should fail and show how the objects get stringified") { CHECK(doctest::IsNaN<float>(std::numeric_limits<float>::infinity())); // can't test actual nan because it's implementation defined + CHECK("a" == doctest::Contains("aaa")); + // lets see if this exception gets translated throw_if(true, bla1); } |