mirror of https://github.com/catchorg/Catch2.git
Cleanup IStreamingReporter::listTests
This commit is contained in:
parent
5509ceff60
commit
7111b2a8e2
|
@ -186,10 +186,10 @@ namespace Catch {
|
|||
}
|
||||
}
|
||||
|
||||
if (!m_config->hasTestFilters()) {
|
||||
Catch::cout() << pluralise(tests.size(), "test case") << '\n' << std::endl;
|
||||
} else {
|
||||
if (m_config->hasTestFilters()) {
|
||||
Catch::cout() << pluralise(tests.size(), "matching test case") << '\n' << std::endl;
|
||||
} else {
|
||||
Catch::cout() << pluralise(tests.size(), "test case") << '\n' << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue