Commit 88fa2e0b authored by Nodir Turakulov's avatar Nodir Turakulov Committed by Brad Fitzpatrick

net/http: fix typo in serve_test.go

Change-Id: Iaf33fae7043f21df2dba0bb7e1addb0ff002c508
Reviewed-on: https://go-review.googlesource.com/16088Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent c5856cfd
......@@ -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
},
......
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