ovechkin-dm / mockio

Mockito for golang
MIT License
73 stars 2 forks source link

Fix a panic using a When.ThenReturn #42

Closed emilien-puget closed 8 months ago

emilien-puget commented 8 months ago

Fix a panic using a When.ThenReturn with incorrect number of return elements including an untyped nil

codecov-commenter commented 8 months ago

Codecov Report

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

Comparison is base (e8cca63) 91.76% compared to head (f5676f7) 91.76%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #42 +/- ## ======================================= Coverage 91.76% 91.76% ======================================= Files 1 1 Lines 85 85 ======================================= Hits 78 78 Misses 7 7 ```

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

ovechkin-dm commented 8 months ago

LGTM