func TestRequestHeader(t *testing.T) { header := &RequestHeader{&fast.RequestHeader{}} test.HeaderTest(t, header) header.reset(&fast.RequestHeader{}) assert.Len(t, header.Keys(), 0) }
func TestHeader(t *testing.T) { header := &Header{http.Header{}} test.HeaderTest(t, header) header.reset(http.Header{}) assert.Len(t, header.Keys(), 0) }