Commit c69233be authored by Mikio Hara's avatar Mikio Hara

net/http: fix a typo in test

Change-Id: I897237667ffe9e9b2a5f92251a6f665d29479fd2
Reviewed-on: https://go-review.googlesource.com/33255Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
parent b906df65
......@@ -3460,7 +3460,7 @@ func TestTransportRejectsAlphaPort(t *testing.T) {
res, err := Get("http://dummy.tld:123foo/bar")
if err == nil {
res.Body.Close()
t.Fatal("unexpected sucess")
t.Fatal("unexpected success")
}
ue, ok := err.(*url.Error)
if !ok {
......
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