diff --git a/src/cmd/gofmt/long_test.go b/src/cmd/gofmt/long_test.go index 8a8617c2e8..1332b323af 100644 --- a/src/cmd/gofmt/long_test.go +++ b/src/cmd/gofmt/long_test.go @@ -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) } }