mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-04 21:29:54 +01:00
Switch back to uncolored output after printing filters
After printing the list of filters, switch back from yellow to black before printing a newline to avoid the remaining output to be colored in yellow.
This commit is contained in:
parent
60cfaa38fb
commit
6badd7d9ed
@ -679,8 +679,11 @@ void ConsoleReporter::printSummaryDivider() {
|
||||
}
|
||||
|
||||
void ConsoleReporter::printTestFilters() {
|
||||
if (m_config->testSpec().hasFilters())
|
||||
stream << Colour(Colour::BrightYellow) << "Filters: " << serializeFilters( m_config->getTestsOrTags() ) << '\n';
|
||||
if (m_config->testSpec().hasFilters()) {
|
||||
stream << Colour(Colour::BrightYellow)
|
||||
<< "Filters: " << serializeFilters(m_config->getTestsOrTags())
|
||||
<< Colour(Colour::None) << '\n';
|
||||
}
|
||||
}
|
||||
|
||||
} // end namespace Catch
|
||||
|
Loading…
Reference in New Issue
Block a user