diff options
| author | Martin Hořeňovský | 2022-05-10 19:16:50 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2022-05-10 20:57:50 +0200 |
| commit | d60fbe49be5737d2a01f67ff54f8dca37253a20c (patch) | |
| tree | 24341b0bba6cc76bc351f2afcf9b5001aa36b9b4 /tests/SelfTest/IntrospectiveTests/Reporters.tests.cpp | |
| parent | a733b58cd2a9d90b73f182a6277ce6cc6425a4c3 (diff) | |
| download | catch3-d60fbe49be5737d2a01f67ff54f8dca37253a20c.tar.gz | |
Slight improvement for reporter test
Diffstat (limited to 'tests/SelfTest/IntrospectiveTests/Reporters.tests.cpp')
| -rw-r--r-- | tests/SelfTest/IntrospectiveTests/Reporters.tests.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/SelfTest/IntrospectiveTests/Reporters.tests.cpp b/tests/SelfTest/IntrospectiveTests/Reporters.tests.cpp index 5288709d..5e8f11c7 100644 --- a/tests/SelfTest/IntrospectiveTests/Reporters.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/Reporters.tests.cpp @@ -66,7 +66,9 @@ TEST_CASE( "The default listing implementation write to provided stream", Catch::defaultListReporters(sstream.stream(), reporters, Catch::Verbosity::Normal); auto listingString = sstream.str(); - REQUIRE_THAT(listingString, ContainsSubstring("fake reporter"s)); + REQUIRE_THAT( listingString, + ContainsSubstring( "fake reporter"s ) && + ContainsSubstring( "fake description"s ) ); } SECTION( "Listing tests" ) { Catch::TestCaseInfo fakeInfo{ |