Slight improvement for reporter test
This commit is contained in:
parent
a733b58cd2
commit
d60fbe49be
9 changed files with 17 additions and 15 deletions
|
@ -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{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue