]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: fix typo in serve_test.go
authorNodir Turakulov <nodir@google.com>
Mon, 19 Oct 2015 21:30:35 +0000 (14:30 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 19 Oct 2015 21:36:09 +0000 (21:36 +0000)
Change-Id: Iaf33fae7043f21df2dba0bb7e1addb0ff002c508
Reviewed-on: https://go-review.googlesource.com/16088
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/serve_test.go

index 9def81af6b148866334057a203121ce1b35351b3..7a008274e72aba047fd9a7d0c9b17763e46a906b 100644 (file)
@@ -2348,7 +2348,7 @@ func TestHeaderToWire(t *testing.T) {
                                        return errors.New("no content-length")
                                }
                                if !strings.Contains(got, "Content-Type: text/plain") {
-                                       return errors.New("no content-length")
+                                       return errors.New("no content-type")
                                }
                                return nil
                        },