Browse Source

Fix Error => Errorf

This bugfix brought to you by `go vet`
Carl Jackson 12 years ago
parent
commit
2425c4144d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      web/router_test.go

+ 1
- 1
web/router_test.go View File

@ -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")


Loading…
Cancel
Save