mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05:00
Fix vet failing on Go tip
This commit is contained in:
parent
d05dac8d2e
commit
96425f0f40
1 changed files with 3 additions and 3 deletions
|
@ -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"},
|
||||||
}},
|
}},
|
||||||
}},
|
}},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue