mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 21:05:39 +02:00
Slight improvement for reporter test
This commit is contained in:
@@ -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{
|
||||
|
Reference in New Issue
Block a user