mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-01 17:53:30 +01:00
Remove some code duplication from default test listing impl
This commit is contained in:
parent
4c1e896d47
commit
9f091cbe9d
@ -205,10 +205,11 @@ namespace Catch {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (isFiltered) {
|
if (isFiltered) {
|
||||||
out << pluralise(tests.size(), "matching test case") << "\n\n" << std::flush;
|
out << pluralise(tests.size(), "matching test case");
|
||||||
} else {
|
} else {
|
||||||
out << pluralise(tests.size(), "test case") << "\n\n" << std::flush;
|
out << pluralise(tests.size(), "test case");
|
||||||
}
|
}
|
||||||
|
out << "\n\n" << std::flush;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Catch
|
} // namespace Catch
|
||||||
|
Loading…
Reference in New Issue
Block a user