From 37f4359dcbf68cbf8a5fd8761cb65c943c68c06b Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Wed, 20 Nov 2024 22:32:49 +0100 Subject: [PATCH] now forcing the orot name of the output to be correct --- cmd/go2junit/output.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/go2junit/output.go b/cmd/go2junit/output.go index 7b140c8..2a7f678 100644 --- a/cmd/go2junit/output.go +++ b/cmd/go2junit/output.go @@ -22,6 +22,8 @@ type Testsuites struct { } type Testsuite struct { + XMLName xml.Name `xml:"testsuite"` + // required attributes Name string `xml:"name,attr"` Tests int `xml:"tests,attr"`