Skip to content

Commit

Permalink
Add missing t.Helper() (knative#9597)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmoor authored Sep 28, 2020
1 parent 7f1a9c6 commit 316340d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/e2e/autotls/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ type requestOption func(*http.Request)
type responseExpectation func(response *http.Response) error

func runtimeRequest(t *testing.T, client *http.Client, url string, opts ...requestOption) *types.RuntimeInfo {
t.Helper()
return runtimeRequestWithExpectations(t, client, url,
[]responseExpectation{statusCodeExpectation(sets.NewInt(http.StatusOK))},
false,
Expand Down

0 comments on commit 316340d

Please sign in to comment.