Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tests/SelfTest/IntrospectiveTests
diff options
context:
space:
mode:
authorMartin Hořeňovský2022-05-10 19:16:50 +0200
committerMartin Hořeňovský2022-05-10 20:57:50 +0200
commitd60fbe49be5737d2a01f67ff54f8dca37253a20c (patch)
tree24341b0bba6cc76bc351f2afcf9b5001aa36b9b4 /tests/SelfTest/IntrospectiveTests
parenta733b58cd2a9d90b73f182a6277ce6cc6425a4c3 (diff)
downloadcatch3-d60fbe49be5737d2a01f67ff54f8dca37253a20c.tar.gz
Slight improvement for reporter test
Diffstat (limited to 'tests/SelfTest/IntrospectiveTests')
-rw-r--r--tests/SelfTest/IntrospectiveTests/Reporters.tests.cpp4
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{