Commit 404e4a90 authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

net/http/httputil: fix string in test failure message

R=golang-dev, daniel.morsing
CC=golang-dev
https://golang.org/cl/7722043
parent ea196278
......@@ -30,7 +30,7 @@ func TestReverseProxy(t *testing.T) {
t.Errorf("handler got Connection header value %q", c)
}
if c := r.Header.Get("Upgrade"); c != "" {
t.Errorf("handler got Keep-Alive header value %q", c)
t.Errorf("handler got Upgrade header value %q", c)
}
if g, e := r.Host, "some-name"; g != e {
t.Errorf("backend got Host header %q, want %q", g, e)
......
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