diff options
-rw-r--r-- | src/pkg/http/client_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/http/client_test.go b/src/pkg/http/client_test.go index a916b12e2..013653a82 100644 --- a/src/pkg/http/client_test.go +++ b/src/pkg/http/client_test.go @@ -32,7 +32,7 @@ func TestClient(t *testing.T) { func TestClientHead(t *testing.T) { r, err := Head("http://www.google.com/robots.txt") if err != nil { - t.Error(err) + t.Fatal(err) } if _, ok := r.Header["Last-Modified"]; !ok { t.Error("Last-Modified header not found.") |