218
218
func TestReadCookies(t *testing.T) {
219
219
for i, tt := range readCookiesTests {
221
221
c := readCookies(tt.Header, tt.Filter)
222
222
if !reflect.DeepEqual(c, tt.Cookies) {
223
223
t.Errorf("#%d readCookies:\nhave: %s\nwant: %s\n", i, toJSON(c), toJSON(tt.Cookies))