]> Cypherpunks repositories - gostls13.git/commitdiff
pkg/http: fix a couple of error messages
authorRob Pike <r@golang.org>
Fri, 22 Jul 2011 07:11:44 +0000 (17:11 +1000)
committerRob Pike <r@golang.org>
Fri, 22 Jul 2011 07:11:44 +0000 (17:11 +1000)
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/4805048

src/pkg/http/fs_test.go

index 0101ad88ca9b96478a42ce8b2e9c08f151eb0673..c714795dcfa800d25115a092ea5c443b9ce6f7e0 100644 (file)
@@ -163,10 +163,10 @@ func TestDirJoin(t *testing.T) {
                defer f.Close()
                gfi, err := f.Stat()
                if err != nil {
-                       t.Fatalf("stat of %s: %v", err)
+                       t.Fatalf("stat of %s: %v", name, err)
                }
                if gfi.Ino != wfi.Ino {
-                       t.Errorf("%s got different inode")
+                       t.Errorf("%s got different inode", name)
                }
        }
        test(Dir("/etc/"), "/hosts")