diff --git a/pkg/parser/gotest/gotest_test.go b/pkg/parser/gotest/gotest_test.go index 690096e..0490a1b 100644 --- a/pkg/parser/gotest/gotest_test.go +++ b/pkg/parser/gotest/gotest_test.go @@ -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)"},