From a4e4e82474f894d56cbe86e13a2d23bb1b46744d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Thu, 24 Mar 2022 16:03:42 +0100 Subject: [PATCH] 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. --- src/catch2/reporters/catch_reporter_combined_tu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/catch2/reporters/catch_reporter_combined_tu.cpp b/src/catch2/reporters/catch_reporter_combined_tu.cpp index 5b04c290..23c738cd 100644 --- a/src/catch2/reporters/catch_reporter_combined_tu.cpp +++ b/src/catch2/reporters/catch_reporter_combined_tu.cpp @@ -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'; }