Skip to content

Commit

Permalink
Cleanup IStreamingReporter::listTests
Browse files Browse the repository at this point in the history
  • Loading branch information
horenmar committed Jan 16, 2021
1 parent 5509cef commit 7111b2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/catch2/interfaces/catch_interfaces_reporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 7111b2a

Please sign in to comment.