aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/path
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2010-12-07 16:42:54 -0500
committerRob Pike <r@golang.org>2010-12-07 16:42:54 -0500
commit1ce6245d6cc313daba1a4d7b5b349328e18bba6b (patch)
tree267b7a6a454a3702e85696b570823bf3576bec9a /src/pkg/path
parentab7884da7eaea4ced7414c710aa0a5622e8eabd6 (diff)
downloadgo-1ce6245d6cc313daba1a4d7b5b349328e18bba6b.tar.xz
throughout: fix broken calls to Printf etc.
I have written a tool to verify Printf calls, and although it's not ready to be reviewed yet it's already uncovered a spate of problems in the repository. I'm sending this CL to break the changes into pieces; as the tool improves it will find more, I'm sure. R=rsc CC=golang-dev https://golang.org/cl/3427043
Diffstat (limited to 'src/pkg/path')
-rw-r--r--src/pkg/path/path_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/path/path_test.go b/src/pkg/path/path_test.go
index e00ac09729..971f32eb7a 100644
--- a/src/pkg/path/path_test.go
+++ b/src/pkg/path/path_test.go
@@ -257,7 +257,7 @@ func TestWalk(t *testing.T) {
errors := make(chan os.Error, 64)
Walk(tree.name, v, errors)
if err, ok := <-errors; ok {
- t.Errorf("no error expected, found: s", err)
+ t.Error("no error expected, found: s", err)
}
checkMarks(t)