Cleanup IStreamingReporter::listTests

This commit is contained in:
Martin Hořeňovský 2021-01-16 15:50:52 +01:00
parent 5509ceff60
commit 7111b2a8e2
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -186,10 +186,10 @@ namespace Catch {
} }
} }
if (!m_config->hasTestFilters()) { if (m_config->hasTestFilters()) {
Catch::cout() << pluralise(tests.size(), "test case") << '\n' << std::endl;
} else {
Catch::cout() << pluralise(tests.size(), "matching test case") << '\n' << std::endl; Catch::cout() << pluralise(tests.size(), "matching test case") << '\n' << std::endl;
} else {
Catch::cout() << pluralise(tests.size(), "test case") << '\n' << std::endl;
} }
} }