hub4j / github-api

Java API for GitHub
https://github-api.kohsuke.org/
MIT License
1.14k stars 727 forks source link

Make sure we return an empty list when no reviews #1809

Closed gsmet closed 6 months ago

gsmet commented 7 months ago

I couldn't reproduce the problem described in #1768 but I thought we could add a test anyway as it doesn't cost us much.

codecov[bot] commented 7 months ago

Codecov Report

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

Project coverage is 80.66%. Comparing base (2ee0bcc) to head (9bd83fb). Report is 5 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1809 +/- ## ============================================ - Coverage 80.69% 80.66% -0.03% - Complexity 2332 2342 +10 ============================================ Files 220 220 Lines 7050 7082 +32 Branches 373 379 +6 ============================================ + Hits 5689 5713 +24 - Misses 1128 1132 +4 - Partials 233 237 +4 ```

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