mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-22 19:33:29 +01:00
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
Block a user