]> Cypherpunks repositories - gostls13.git/commitdiff
gofmt: fix error message in test
authorRobert Griesemer <gri@golang.org>
Sat, 11 Feb 2012 05:47:18 +0000 (21:47 -0800)
committerRobert Griesemer <gri@golang.org>
Sat, 11 Feb 2012 05:47:18 +0000 (21:47 -0800)
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5652066

src/cmd/gofmt/long_test.go

index 8a8617c2e8e452b22492f0a490fc9b302f932d7e..1332b323af9c56150ac2dedec8d19f97c49cd94c 100644 (file)
@@ -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)
        }
 }