Commit 96425f0f authored by Matthew Holt's avatar Matthew Holt

Fix vet failing on Go tip

parent d05dac8d
...@@ -38,14 +38,14 @@ func TestHeadersParse(t *testing.T) { ...@@ -38,14 +38,14 @@ func TestHeadersParse(t *testing.T) {
{`header /foo Foo "Bar Baz"`, {`header /foo Foo "Bar Baz"`,
false, []headers.Rule{ false, []headers.Rule{
{Path: "/foo", Headers: []headers.Header{ {Path: "/foo", Headers: []headers.Header{
{"Foo", "Bar Baz"}, {Name: "Foo", Value: "Bar Baz"},
}}, }},
}}, }},
{`header /bar { Foo "Bar Baz" Baz Qux }`, {`header /bar { Foo "Bar Baz" Baz Qux }`,
false, []headers.Rule{ false, []headers.Rule{
{Path: "/bar", Headers: []headers.Header{ {Path: "/bar", Headers: []headers.Header{
{"Foo", "Bar Baz"}, {Name: "Foo", Value: "Bar Baz"},
{"Baz", "Qux"}, {Name: "Baz", Value: "Qux"},
}}, }},
}}, }},
} }
......
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