From 1069a04b9f8d46b219808fdfc9f20239951c210b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Stemmer?= Date: Tue, 8 Oct 2019 23:33:41 +0100 Subject: [PATCH] parser/gotest: Fix failing build error test --- pkg/parser/gotest/gotest_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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)"},