mirror of
https://github.com/golang/go
synced 2024-11-12 08:10:21 -07:00
net/http: make a test fail harder, earlier
LGTM=dave R==r, r, dave CC=golang-codereviews https://golang.org/cl/59810043
This commit is contained in:
parent
07cbf550ce
commit
4723308ff5
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user