From: Rob Pike Date: Fri, 22 Jul 2011 07:11:44 +0000 (+1000) Subject: pkg/http: fix a couple of error messages X-Git-Tag: weekly.2011-07-29~85 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=54045e6bcd67f866b152a462a3ca9e59c35e2782;p=gostls13.git pkg/http: fix a couple of error messages R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4805048 --- diff --git a/src/pkg/http/fs_test.go b/src/pkg/http/fs_test.go index 0101ad88ca..c714795dcf 100644 --- a/src/pkg/http/fs_test.go +++ b/src/pkg/http/fs_test.go @@ -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")