Skip to content

Commit af9a74c

Browse files
committed
Fix error string
1 parent 0990fbf commit af9a74c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/go/internal/test/cover.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func mergeCoverProfile(file string) error {
6767
return nil
6868
}
6969
if err != nil || string(buf) != expect {
70-
return fmt.Errorf("error: test wrote malformed coverage profile %s.\n", file)
70+
return fmt.Errorf("test wrote malformed coverage profile %s", file)
7171
}
7272
m, err := io.Copy(coverMerge.f, r)
7373
if err != nil {

0 commit comments

Comments
 (0)