This commit is contained in:
风扇滑翔翼 2025-03-20 16:09:11 +00:00 committed by GitHub
parent 6437143bb7
commit d40c0374d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -85,8 +85,9 @@ func Test_parseResponse(t *testing.T) {
}
if got != nil {
// reset the time
// reset the time and RawHeader
got.Expire = time.Time{}
got.RawHeader = nil
}
if cmp.Diff(got, tt.want) != "" {
t.Error(cmp.Diff(got, tt.want))