chore: remove init if possible (#2485)

This commit is contained in:
Kevin Wan
2022-10-06 23:57:56 +08:00
committed by GitHub
parent 97f8667b71
commit 773b59106b
4 changed files with 5 additions and 21 deletions

View File

@@ -48,4 +48,4 @@ func TestParseHeadersArrayInt(t *testing.T) {
r.Header.Add("foo", "2")
assert.Nil(t, ParseHeaders(r.Header, &val))
assert.Equal(t, []int{1, 2}, val.Foo)
}
}