Skip to content

Commit cfdb9c9

Browse files
authored
Merge pull request #187 from fastly/dgryski/httpcache-fastly-dev
integration_tests/httpcache: update for http-me.fastly.dev behaviour
2 parents a35d8ba + 07a6549 commit cfdb9c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

integration_tests/httpcache/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ func testAfterSendCandidateResponsePropertiesUncached(ctx context.Context) error
547547

548548
if got, err := r.Vary(); err != nil {
549549
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 {
551551
return fmt.Errorf("candidate.vary=%v, want %v", got, want)
552552
}
553553

@@ -585,7 +585,7 @@ func testAfterSendCandidateResponsePropertiesUncached(ctx context.Context) error
585585
return fmt.Errorf("response.ttl()=%v, %v, want %v, %v", got, ok, 3600, true)
586586
}
587587

588-
if got, want := resp.Vary(), "accept-encoding"; got != want {
588+
if got, want := resp.Vary(), ""; got != want {
589589
return fmt.Errorf("response.Vary()=%v, want %v", got, want)
590590
}
591591

@@ -671,7 +671,7 @@ func testAfterSendCandidateResponsePropertiesCached(ctx context.Context) error {
671671
return fmt.Errorf("response.ttl()=%v, %v, want %v, %v", got, ok, 0, true)
672672
}
673673

674-
if got, want := resp.Vary(), "accept-encoding"; got != want {
674+
if got, want := resp.Vary(), ""; got != want {
675675
return fmt.Errorf("response.Vary()=%v, want %v", got, want)
676676
}
677677

0 commit comments

Comments
 (0)