From 96425f0f4053df7280256ce40094615c2840d90a Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Sat, 30 Apr 2016 11:13:04 -0600 Subject: [PATCH] Fix vet failing on Go tip --- caddy/setup/headers_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/caddy/setup/headers_test.go b/caddy/setup/headers_test.go index 412e7664..7b111cb4 100644 --- a/caddy/setup/headers_test.go +++ b/caddy/setup/headers_test.go @@ -38,14 +38,14 @@ func TestHeadersParse(t *testing.T) { {`header /foo Foo "Bar Baz"`, false, []headers.Rule{ {Path: "/foo", Headers: []headers.Header{ - {"Foo", "Bar Baz"}, + {Name: "Foo", Value: "Bar Baz"}, }}, }}, {`header /bar { Foo "Bar Baz" Baz Qux }`, false, []headers.Rule{ {Path: "/bar", Headers: []headers.Header{ - {"Foo", "Bar Baz"}, - {"Baz", "Qux"}, + {Name: "Foo", Value: "Bar Baz"}, + {Name: "Baz", Value: "Qux"}, }}, }}, }