diff --git a/src/cmd/go/test.go b/src/cmd/go/test.go index 1807e42f723..fb0ba7b4d0d 100644 --- a/src/cmd/go/test.go +++ b/src/cmd/go/test.go @@ -228,7 +228,7 @@ func runTest(cmd *Command, args []string) { for _, p := range pkgs { buildTest, runTest, err := b.test(p) if err != nil { - errorf("%s: %s", p, err) + errorf("%s", err) continue } builds = append(builds, buildTest)