aws / aws-lambda-go

Libraries, samples and tools to help Go developers develop AWS Lambda functions.
Apache License 2.0
3.61k stars 547 forks source link

refactor: use `assert.PanicsWithValue` #541

Closed wafuwafu13 closed 9 months ago

wafuwafu13 commented 9 months ago

Issue #, if available:

Description of changes:

Change to use assert.PanicsWithValue https://pkg.go.dev/github.com/stretchr/testify/assert#PanicsWithValue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

codecov-commenter commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (c42f056) 72.93% compared to head (76b607c) 72.93%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #541 +/- ## ======================================= Coverage 72.93% 72.93% ======================================= Files 26 26 Lines 1456 1456 ======================================= Hits 1062 1062 Misses 322 322 Partials 72 72 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.