Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Don't write semicolon after failed expression in separate call

Commit
1df10d28aec9967120c1faf10dae87adbd875b8b
Author
Martin Hořeňovský ·
Parents
9f1b48a94fdc

Files · Download .tar.gz

Changes

 src/catch2/reporters/catch_reporter_junit.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/catch2/reporters/catch_reporter_junit.cpp b/src/catch2/reporters/catch_reporter_junit.cpp
index df34f17b..3be4e2f9 100644
--- a/src/catch2/reporters/catch_reporter_junit.cpp
+++ b/src/catch2/reporters/catch_reporter_junit.cpp
@@ -284,7 +284,7 @@ namespace Catch {
             if ( result.getResultType() == ResultWas::ExplicitSkip ) {
                 rss << "SKIPPED\n";
             } else {
-                rss << "FAILED" << ":\n";
+                rss << "FAILED:\n";
                 if (result.hasExpression()) {
                     rss << "  ";
                     rss << result.getExpressionInMacro();