Commit 8d3d23a1 authored by David du Colombier's avatar David du Colombier Committed by Brad Fitzpatrick

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: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent f8dc4f20
...@@ -2470,7 +2470,7 @@ func TestClientWriteShutdown(t *testing.T) { ...@@ -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() {
......
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