google / osv-scanner

Vulnerability scanner written in Go which uses the data provided by https://osv.dev
https://google.github.io/osv-scanner/
Apache License 2.0
6.01k stars 337 forks source link

Update tests to support go version changes #1065

Closed another-rex closed 5 days ago

another-rex commented 5 days ago

Using a different Go version changes where the affected line is in the stdlib, so let's just set it to -1 to make it easier for local development with newer go versions

codecov-commenter commented 5 days ago

Codecov Report

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

Please upload report for BASE (main@46aee59). Learn more about missing BASE report. Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1065 +/- ## ======================================= Coverage ? 65.34% ======================================= Files ? 150 Lines ? 12529 Branches ? 0 ======================================= Hits ? 8187 Misses ? 3882 Partials ? 460 ```

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