]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: fix a typo in test
authorMikio Hara <mikioh.mikioh@gmail.com>
Wed, 16 Nov 2016 04:51:45 +0000 (13:51 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Wed, 16 Nov 2016 05:35:16 +0000 (05:35 +0000)
Change-Id: I897237667ffe9e9b2a5f92251a6f665d29479fd2
Reviewed-on: https://go-review.googlesource.com/33255
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/http/transport_test.go

index 8054e8d78954f5e4f2831b9c5fec107004bba37b..5a402657cc3f5357626ea7e8ebf1c0bdd1517b6d 100644 (file)
@@ -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 {