Add state to ignore trailing output

This commit is contained in:
Ingmar Stein
2017-07-26 08:06:07 +02:00
parent 0f1caf6c3e
commit 862454a821
3 changed files with 18 additions and 21 deletions

View File

@ -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",