From 4723308ff5ab437d2b0892e7cdac86d490495a9b Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 3 Feb 2014 16:01:58 -0500 Subject: [PATCH] net/http: make a test fail harder, earlier LGTM=dave R==r, r, dave CC=golang-codereviews https://golang.org/cl/59810043 --- src/pkg/net/http/transport_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/net/http/transport_test.go b/src/pkg/net/http/transport_test.go index 4ac00bf411..da74ac9a0f 100644 --- a/src/pkg/net/http/transport_test.go +++ b/src/pkg/net/http/transport_test.go @@ -1347,7 +1347,7 @@ func TestTransportCloseResponseBody(t *testing.T) { t.Fatal(err) } if !bytes.Equal(buf, want) { - t.Errorf("read %q; want %q", buf, want) + t.Fatalf("read %q; want %q", buf, want) } didClose := make(chan error, 1) go func() { -- 2.48.1