mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-16 18:52:25 +01:00
parent
62fd660583
commit
561fe26cd5
@ -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;
|
||||
|
@ -697,7 +697,7 @@ with expansion:
|
||||
-------------------------------------------------------------------------------
|
||||
Mayfail test case with nested sections
|
||||
A
|
||||
1
|
||||
1
|
||||
-------------------------------------------------------------------------------
|
||||
Condition.tests.cpp:<line number>
|
||||
...............................................................................
|
||||
@ -707,7 +707,7 @@ Condition.tests.cpp:<line number>: FAILED:
|
||||
-------------------------------------------------------------------------------
|
||||
Mayfail test case with nested sections
|
||||
A
|
||||
2
|
||||
2
|
||||
-------------------------------------------------------------------------------
|
||||
Condition.tests.cpp:<line number>
|
||||
...............................................................................
|
||||
@ -717,7 +717,7 @@ Condition.tests.cpp:<line number>: FAILED:
|
||||
-------------------------------------------------------------------------------
|
||||
Mayfail test case with nested sections
|
||||
B
|
||||
1
|
||||
1
|
||||
-------------------------------------------------------------------------------
|
||||
Condition.tests.cpp:<line number>
|
||||
...............................................................................
|
||||
@ -727,7 +727,7 @@ Condition.tests.cpp:<line number>: FAILED:
|
||||
-------------------------------------------------------------------------------
|
||||
Mayfail test case with nested sections
|
||||
B
|
||||
2
|
||||
2
|
||||
-------------------------------------------------------------------------------
|
||||
Condition.tests.cpp:<line number>
|
||||
...............................................................................
|
||||
@ -1309,7 +1309,7 @@ Message.tests.cpp:<line number>: warning:
|
||||
-------------------------------------------------------------------------------
|
||||
more nested SECTION tests
|
||||
doesn't equal
|
||||
equal
|
||||
equal
|
||||
-------------------------------------------------------------------------------
|
||||
Misc.tests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -16647,8 +16647,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;
|
||||
|
Loading…
Reference in New Issue
Block a user