1
0
mirror of https://github.com/golang/go synced 2024-11-06 19:36:30 -07:00

net/http: fix error message in TestClientWriteShutdown

Change-Id: I3c664201baef6d7dbed94dab63db0ac974bf6817
Reviewed-on: https://go-review.googlesource.com/33198
TryBot-Result: Gobot Gobot <gobot@golang.org>
Run-TryBot: David du Colombier <0intro@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
David du Colombier 2016-11-13 22:00:38 +01:00 committed by Brad Fitzpatrick
parent f8dc4f20f8
commit 8d3d23a124

View File

@ -2470,7 +2470,7 @@ func TestClientWriteShutdown(t *testing.T) {
} }
err = conn.(*net.TCPConn).CloseWrite() err = conn.(*net.TCPConn).CloseWrite()
if err != nil { if err != nil {
t.Fatalf("Dial: %v", err) t.Fatalf("CloseWrite: %v", err)
} }
donec := make(chan bool) donec := make(chan bool)
go func() { go func() {