1
0
mirror of https://github.com/golang/go synced 2024-09-24 03:10:16 -06:00

pkg/http: fix a couple of error messages

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/4805048
This commit is contained in:
Rob Pike 2011-07-22 17:11:44 +10:00
parent 38e5128243
commit 54045e6bcd

View 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")