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:
parent
38e5128243
commit
54045e6bcd
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user