diff --git a/web/router_test.go b/web/router_test.go index 5e4d7cd..b8556ce 100644 --- a/web/router_test.go +++ b/web/router_test.go @@ -170,7 +170,7 @@ func TestPrefix(t *testing.T) { select { case val := <-ch: if val != "/hello/world" { - t.Error("Got %q, expected /hello/world", val) + t.Errorf("Got %q, expected /hello/world", val) } case <-time.After(5 * time.Millisecond): t.Errorf("Timeout waiting for hello")