mirror of
https://github.com/catchorg/Catch2
synced 2026-02-12 12:42:13 +00:00
Always indent test names at 2 spaces with default listing
This makes the output slightly more parsable in cases where using the xml output from xml reporter is impractical, e.g. from CMake scripts.
This commit is contained in:
@@ -196,7 +196,7 @@ namespace Catch {
|
||||
: Colour::None;
|
||||
auto colourGuard = streamColour->guardColour( colour ).engage( out );
|
||||
|
||||
out << TextFlow::Column(testCaseInfo.name).initialIndent(2).indent(4) << '\n';
|
||||
out << TextFlow::Column(testCaseInfo.name).indent(2) << '\n';
|
||||
if (verbosity >= Verbosity::High) {
|
||||
out << TextFlow::Column(Catch::Detail::stringify(testCaseInfo.lineInfo)).indent(4) << '\n';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user