From 2425c4144d26125636211a605000300a24b89957 Mon Sep 17 00:00:00 2001 From: Carl Jackson Date: Sat, 12 Apr 2014 21:10:30 +0100 Subject: [PATCH] Fix Error => Errorf This bugfix brought to you by `go vet` --- web/router_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")