1
0
mirror of https://github.com/golang/go synced 2024-09-25 15:20:13 -06: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)
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)