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 3a15315a37
commit 5561d0342d

View File

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