Commit 4723308f authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

net/http: make a test fail harder, earlier

LGTM=dave
R==r, r, dave
CC=golang-codereviews
https://golang.org/cl/59810043
parent 07cbf550
......@@ -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() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment