diff options
| author | Martin Hořeňovský | 2021-01-16 15:50:52 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2021-01-16 15:50:52 +0100 |
| commit | 7111b2a8e232e4a35bd63d772ae889d05185797a (patch) | |
| tree | 08f0feca826fe76f1ae0ee59d720549b51e8f879 /src | |
| parent | 5509ceff608aafc402116a081200f3ff2b4805ed (diff) | |
| download | catch3-7111b2a8e232e4a35bd63d772ae889d05185797a.tar.gz | |
Cleanup IStreamingReporter::listTests
Diffstat (limited to 'src')
| -rw-r--r-- | src/catch2/interfaces/catch_interfaces_reporter.cpp | 6 |
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; } } |