@@ -547,7 +547,7 @@ func testAfterSendCandidateResponsePropertiesUncached(ctx context.Context) error
547
547
548
548
if got , err := r .Vary (); err != nil {
549
549
return fmt .Errorf ("candidate.vary has err=%v, want nil" , err )
550
- } else if want := "accept-encoding " ; got != want {
550
+ } else if want := "" ; got != want {
551
551
return fmt .Errorf ("candidate.vary=%v, want %v" , got , want )
552
552
}
553
553
@@ -585,7 +585,7 @@ func testAfterSendCandidateResponsePropertiesUncached(ctx context.Context) error
585
585
return fmt .Errorf ("response.ttl()=%v, %v, want %v, %v" , got , ok , 3600 , true )
586
586
}
587
587
588
- if got , want := resp .Vary (), "accept-encoding " ; got != want {
588
+ if got , want := resp .Vary (), "" ; got != want {
589
589
return fmt .Errorf ("response.Vary()=%v, want %v" , got , want )
590
590
}
591
591
@@ -671,7 +671,7 @@ func testAfterSendCandidateResponsePropertiesCached(ctx context.Context) error {
671
671
return fmt .Errorf ("response.ttl()=%v, %v, want %v, %v" , got , ok , 0 , true )
672
672
}
673
673
674
- if got , want := resp .Vary (), "accept-encoding " ; got != want {
674
+ if got , want := resp .Vary (), "" ; got != want {
675
675
return fmt .Errorf ("response.Vary()=%v, want %v" , got , want )
676
676
}
677
677
0 commit comments