Indent section names

Closes #1556
This commit is contained in:
Bert Wesarg
2022-04-14 08:20:22 +02:00
parent 62fd660583
commit 561fe26cd5
4 changed files with 171 additions and 171 deletions

View File

@@ -547,8 +547,8 @@ void ConsoleReporter::printTestCaseAndSectionHeader() {
auto
it = m_sectionStack.begin() + 1, // Skip first section (test case)
itEnd = m_sectionStack.end();
for (; it != itEnd; ++it)
printHeaderString(it->name, 2);
for (size_t indent = 2; it != itEnd; ++it, indent += 2)
printHeaderString(it->name, indent);
}
SourceLineInfo lineInfo = m_sectionStack.back().lineInfo;