Skip to content

Commit

Permalink
AWS Lambda: Fix typo in test, add generated code
Browse files Browse the repository at this point in the history
Signed-off-by: Trevor Bramwell <[email protected]>
  • Loading branch information
bramwelt committed Apr 5, 2024
1 parent a1eb277 commit 44017aa
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions pkg/config/dynamic/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/middlewares/awslambda/aws_lambda_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func Test_AWSLambdaMiddleware_Invoke(t *testing.T) {
resp := recorder.Result()
rBody, _ := io.ReadAll(resp.Body)

assert.Equal(t, []byte("response_body"), rbody)
assert.Equal(t, []byte("response_body"), rBody)
assert.Equal(t, resp.StatusCode, http.StatusTeapot)

Check failure on line 88 in pkg/middlewares/awslambda/aws_lambda_test.go

View workflow job for this annotation

GitHub Actions / validate

expected-actual: need to reverse actual and expected values (testifylint)
}

Expand Down

0 comments on commit 44017aa

Please sign in to comment.