1
0
mirror of https://github.com/golang/go synced 2024-11-22 06:04:39 -07:00

path: fix printf glitch in test

R=rh, gri
CC=golang-dev
https://golang.org/cl/3514041
This commit is contained in:
Rob Pike 2010-12-08 09:58:46 -05:00
parent c17394df31
commit 0313ea80ab

View File

@ -257,7 +257,7 @@ func TestWalk(t *testing.T) {
errors := make(chan os.Error, 64) errors := make(chan os.Error, 64)
Walk(tree.name, v, errors) Walk(tree.name, v, errors)
if err, ok := <-errors; ok { if err, ok := <-errors; ok {
t.Error("no error expected, found: s", err) t.Errorf("no error expected, found: %s", err)
} }
checkMarks(t) checkMarks(t)