mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-20 03:25:40 +02:00
Inline SourceLineInfo::empty definition
This commit is contained in:
@@ -530,11 +530,10 @@ void ConsoleReporter::printTestCaseAndSectionHeader() {
|
||||
|
||||
SourceLineInfo lineInfo = m_sectionStack.back().lineInfo;
|
||||
|
||||
if (!lineInfo.empty()) {
|
||||
stream << getLineOfChars<'-'>() << '\n';
|
||||
Colour colourGuard(Colour::FileName);
|
||||
stream << lineInfo << '\n';
|
||||
}
|
||||
|
||||
stream << getLineOfChars<'-'>() << '\n';
|
||||
Colour colourGuard(Colour::FileName);
|
||||
stream << lineInfo << '\n';
|
||||
stream << getLineOfChars<'.'>() << '\n' << std::endl;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user