mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-29 16:53:30 +01: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:
parent
6227ca317e
commit
a4e4e82474
@ -196,7 +196,7 @@ namespace Catch {
|
|||||||
: Colour::None;
|
: Colour::None;
|
||||||
auto colourGuard = streamColour->guardColour( colour ).engage( out );
|
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) {
|
if (verbosity >= Verbosity::High) {
|
||||||
out << TextFlow::Column(Catch::Detail::stringify(testCaseInfo.lineInfo)).indent(4) << '\n';
|
out << TextFlow::Column(Catch::Detail::stringify(testCaseInfo.lineInfo)).indent(4) << '\n';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user