Skip to content

Commit 7539b37

Browse files
committed
Added xml header format.
1 parent b8cdc32 commit 7539b37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

output/formatter.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ func reportXML(w io.Writer, data *reportInfo) error {
180180
panic(err)
181181
}
182182

183+
raw = append([]byte("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"), raw...)
183184
_, err = w.Write(raw)
184185
if err != nil {
185186
panic(err)

0 commit comments

Comments
 (0)