Skip to content

Commit

Permalink
refactor: Code review
Browse files Browse the repository at this point in the history
  • Loading branch information
domdom82 authored and geofffranks committed Apr 29, 2024
1 parent fea57f9 commit 0ac37d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions integration/tls_to_backends_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ var _ = Describe("TLS to backends", func() {
Expect(resp.StatusCode).To(Equal(404))

data, err := io.ReadAll(resp.Body)
Expect(err).To(Not(HaveOccurred()))
resp.Body.Close()

Expect(string(data)).To(ContainSubstring("beginning of the response body goes here"))
Expand Down

0 comments on commit 0ac37d3

Please sign in to comment.