Skip to content

Commit

Permalink
Fix error string
Browse files Browse the repository at this point in the history
  • Loading branch information
jproberts committed Oct 17, 2022
1 parent 0990fbf commit af9a74c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/go/internal/test/cover.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func mergeCoverProfile(file string) error {
return nil
}
if err != nil || string(buf) != expect {
return fmt.Errorf("error: test wrote malformed coverage profile %s.\n", file)
return fmt.Errorf("test wrote malformed coverage profile %s", file)
}
m, err := io.Copy(coverMerge.f, r)
if err != nil {
Expand Down

0 comments on commit af9a74c

Please sign in to comment.