mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-04-05 13:08:07 -05:00
parser/gotest: Fix failing build error test
This commit is contained in:
parent
cb7f773314
commit
1069a04b9f
@ -188,11 +188,11 @@ var tests = []struct {
|
||||
}},
|
||||
{"13-syntax-error",
|
||||
[]gtr.Event{
|
||||
{Type: "output", Data: "# package/name/failing1"},
|
||||
{Type: "build_output", Name: "package/name/failing1"},
|
||||
{Type: "output", Data: "failing1/failing_test.go:15: undefined: x"},
|
||||
{Type: "output", Data: "# package/name/failing2"},
|
||||
{Type: "build_output", Name: "package/name/failing2"},
|
||||
{Type: "output", Data: "failing2/another_failing_test.go:20: undefined: y"},
|
||||
{Type: "output", Data: "# package/name/setupfailing1"},
|
||||
{Type: "build_output", Name: "package/name/setupfailing1"},
|
||||
{Type: "output", Data: "setupfailing1/failing_test.go:4: cannot find package \"other/package\" in any of:"},
|
||||
{Type: "output", Data: " /path/vendor (vendor tree)"},
|
||||
{Type: "output", Data: " /path/go/root (from $GOROOT)"},
|
||||
@ -530,11 +530,11 @@ var tests = []struct {
|
||||
}},
|
||||
{"31-syntax-error-test-binary",
|
||||
[]gtr.Event{
|
||||
{Type: "output", Data: "# package/name/failing1 [package/name/failing1.test]"},
|
||||
{Type: "build_output", Name: "package/name/failing1"},
|
||||
{Type: "output", Data: "failing1/failing_test.go:15: undefined: x"},
|
||||
{Type: "output", Data: "# package/name/failing2 [package/name/failing2.test]"},
|
||||
{Type: "build_output", Name: "package/name/failing2"},
|
||||
{Type: "output", Data: "failing2/another_failing_test.go:20: undefined: y"},
|
||||
{Type: "output", Data: "# package/name/setupfailing1 [package/name/setupfailing1.test]"},
|
||||
{Type: "build_output", Name: "package/name/setupfailing1"},
|
||||
{Type: "output", Data: "setupfailing1/failing_test.go:4: cannot find package \"other/package\" in any of:"},
|
||||
{Type: "output", Data: "\t/path/vendor (vendor tree)"},
|
||||
{Type: "output", Data: "\t/path/go/root (from $GOROOT)"},
|
||||
|
Loading…
x
Reference in New Issue
Block a user