Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/interfaces
diff options
context:
space:
mode:
authorMartin Hořeňovský2021-01-16 15:50:52 +0100
committerMartin Hořeňovský2021-01-16 15:50:52 +0100
commit7111b2a8e232e4a35bd63d772ae889d05185797a (patch)
tree08f0feca826fe76f1ae0ee59d720549b51e8f879 /src/catch2/interfaces
parent5509ceff608aafc402116a081200f3ff2b4805ed (diff)
downloadcatch3-7111b2a8e232e4a35bd63d772ae889d05185797a.tar.gz
Cleanup IStreamingReporter::listTests
Diffstat (limited to 'src/catch2/interfaces')
-rw-r--r--src/catch2/interfaces/catch_interfaces_reporter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/catch2/interfaces/catch_interfaces_reporter.cpp b/src/catch2/interfaces/catch_interfaces_reporter.cpp
index 1fd6b6d1..a2a8bebf 100644
--- a/src/catch2/interfaces/catch_interfaces_reporter.cpp
+++ b/src/catch2/interfaces/catch_interfaces_reporter.cpp
@@ -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;
}
}