mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-07-03 20:52:47 -05:00
Add state to ignore trailing output
This commit is contained in:
@ -71,9 +71,7 @@ var testCases = []TestCase{
|
||||
Name: "TestTwo",
|
||||
Time: 130,
|
||||
Result: parser.PASS,
|
||||
Output: []string{
|
||||
"exit status 1",
|
||||
},
|
||||
Output: []string{},
|
||||
},
|
||||
},
|
||||
},
|
||||
@ -203,9 +201,7 @@ var testCases = []TestCase{
|
||||
Name: "TestTwo",
|
||||
Time: 130,
|
||||
Result: parser.PASS,
|
||||
Output: []string{
|
||||
"exit status 1",
|
||||
},
|
||||
Output: []string{},
|
||||
},
|
||||
},
|
||||
},
|
||||
@ -312,9 +308,7 @@ var testCases = []TestCase{
|
||||
Name: "TestB",
|
||||
Time: 300,
|
||||
Result: parser.PASS,
|
||||
Output: []string{
|
||||
"coverage: 10% of statements",
|
||||
},
|
||||
Output: []string{},
|
||||
},
|
||||
},
|
||||
CoveragePct: "10.0",
|
||||
@ -697,7 +691,6 @@ var testCases = []TestCase{
|
||||
" _test/_testmain.go:52 +0x20f",
|
||||
"==================",
|
||||
"testing.go:610: race detected during execution of test",
|
||||
"exit status 1",
|
||||
},
|
||||
},
|
||||
},
|
||||
@ -724,9 +717,7 @@ var testCases = []TestCase{
|
||||
Name: "TestB",
|
||||
Time: 300,
|
||||
Result: parser.PASS,
|
||||
Output: []string{
|
||||
"coverage: 10% of statements in fmt, encoding/xml",
|
||||
},
|
||||
Output: []string{},
|
||||
},
|
||||
},
|
||||
CoveragePct: "10.0",
|
||||
|
Reference in New Issue
Block a user