]> Cypherpunks repositories - gostls13.git/commitdiff
path: fix printf glitch in test
authorRob Pike <r@golang.org>
Wed, 8 Dec 2010 14:58:46 +0000 (09:58 -0500)
committerRob Pike <r@golang.org>
Wed, 8 Dec 2010 14:58:46 +0000 (09:58 -0500)
R=rh, gri
CC=golang-dev
https://golang.org/cl/3514041

src/pkg/path/path_test.go

index 971f32eb7ac414423b35b9fdb2eef28065ed2093..6b4be07a958256d13029d8d9d569497ad55dfc4c 100644 (file)
@@ -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.Error("no error expected, found: s", err)
+               t.Errorf("no error expected, found: %s", err)
        }
        checkMarks(t)