diff options
Diffstat (limited to 'src/pkg/http/client_test.go')
-rw-r--r-- | src/pkg/http/client_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/http/client_test.go b/src/pkg/http/client_test.go index 9e353dc26..8f5213067 100644 --- a/src/pkg/http/client_test.go +++ b/src/pkg/http/client_test.go @@ -23,8 +23,8 @@ func TestClient(t *testing.T) { r.Body.Close(); } if err != nil { - t.Error(err); + t.Error(err) } else if s := string(b); !strings.HasPrefix(s, "User-agent:") { - t.Errorf("Incorrect page body (did not begin with User-agent): %q", s); + t.Errorf("Incorrect page body (did not begin with User-agent): %q", s) } } |