From: Brad Fitzpatrick Date: Mon, 11 Mar 2013 20:23:47 +0000 (-0700) Subject: net/http/httputil: fix string in test failure message X-Git-Tag: go1.1rc2~587 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=404e4a90cb8c127166ee8cfa0f7c29e231a9f1bb;p=gostls13.git net/http/httputil: fix string in test failure message R=golang-dev, daniel.morsing CC=golang-dev https://golang.org/cl/7722043 --- diff --git a/src/pkg/net/http/httputil/reverseproxy_test.go b/src/pkg/net/http/httputil/reverseproxy_test.go index 3bcaa7f5c5..1c0444ec48 100644 --- a/src/pkg/net/http/httputil/reverseproxy_test.go +++ b/src/pkg/net/http/httputil/reverseproxy_test.go @@ -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)