From 50fbc3e7fbfcdb4fb850686588071e5f0bdd4a0a Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sat, 20 Jul 2019 16:48:32 +0200 Subject: [PATCH] Avoid unnecessary conversion (#502) No need to convert here. --- mux_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mux_test.go b/mux_test.go index f5c1e9c..34c00dd 100644 --- a/mux_test.go +++ b/mux_test.go @@ -1943,7 +1943,7 @@ type TestA301ResponseWriter struct { } func (ho *TestA301ResponseWriter) Header() http.Header { - return http.Header(ho.hh) + return ho.hh } func (ho *TestA301ResponseWriter) Write(b []byte) (int, error) {