Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMartin Hořeňovský2022-03-24 16:03:42 +0100
committerMartin Hořeňovský2022-03-24 16:03:46 +0100
commita4e4e82474f894d56cbe86e13a2d23bb1b46744d (patch)
tree5e29c056ad11a128203418e15649e9ddd4d36387
parent6227ca317e4ca36769a5943587060064ccbe3729 (diff)
downloadcatch3-a4e4e82474f894d56cbe86e13a2d23bb1b46744d.tar.gz
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.
-rw-r--r--src/catch2/reporters/catch_reporter_combined_tu.cpp2
1 files changed, 1 insertions, 1 deletions
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';
}