mirror of
https://github.com/golang/go
synced 2024-11-19 15:44:44 -07:00
gofmt: fix error message in test
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5652066
This commit is contained in:
parent
77aaa3555d
commit
2233942e3c
@ -83,7 +83,7 @@ func testFile(t *testing.T, b1, b2 *bytes.Buffer, filename string) {
|
||||
|
||||
// the first and 2nd result should be identical
|
||||
if bytes.Compare(b1.Bytes(), b2.Bytes()) != 0 {
|
||||
t.Errorf("%s: not idempotent", filename)
|
||||
t.Errorf("gofmt %s not idempotent", filename)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user