Skip to content

Commit

Permalink
fix: unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
brianluong committed Dec 19, 2023
1 parent fcc56de commit 9cfc191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/route/request_executor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func TestRetrieveOrCacheRequest_OriginError(t *testing.T) {
respBody, resp, _, err := executor.retrieveOrCacheRequest(httpReq, requestBody, &configToRoute)

assert.Nil(t, respBody)
assert.Nil(t, resp)
assert.Equal(t , 500, resp.StatusCode)

Check failure on line 149 in internal/route/request_executor_test.go

View workflow job for this annotation

GitHub Actions / Code linting with golangci-lint

File is not `gofmt`-ed with `-s` (gofmt)

_, ok := err.(*OriginError)
assert.True(t, ok)
Expand Down

0 comments on commit 9cfc191

Please sign in to comment.