Different approach to proper colouring of filters

This commit is contained in:
Martin Hořeňovský 2020-02-15 21:18:56 +01:00
parent 6badd7d9ed
commit 95a2e54702
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -680,9 +680,8 @@ void ConsoleReporter::printSummaryDivider() {
void ConsoleReporter::printTestFilters() { void ConsoleReporter::printTestFilters() {
if (m_config->testSpec().hasFilters()) { if (m_config->testSpec().hasFilters()) {
stream << Colour(Colour::BrightYellow) Colour guard(Colour::BrightYellow);
<< "Filters: " << serializeFilters(m_config->getTestsOrTags()) stream << "Filters: " << serializeFilters(m_config->getTestsOrTags()) << '\n';
<< Colour(Colour::None) << '\n';
} }
} }