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.15k stars 347 forks source link

test: update case to reflect recent config parsing changes #1267

Closed G-Rath closed 6 days ago

G-Rath commented 6 days ago

This behaviour changed as a result of both #1252 (which makes LoadPath no longer a recognized config key) and #1249 (which causes the scanner to error when a config has an unknown key), but they didn't directly conflict with each other so got landed on main without this being picked up

(fwiw I'm not worried about this being a reoccurring thing that's worth guarding or preventing somehow as its usually pretty rare 🤷)

codecov-commenter commented 6 days ago

Codecov Report

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

Project coverage is 68.38%. Comparing base (46ab63d) to head (10ac754). Report is 3 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1267 +/- ## ========================================== + Coverage 68.31% 68.38% +0.07% ========================================== Files 175 175 Lines 16764 16784 +20 ========================================== + Hits 11452 11478 +26 + Misses 4680 4676 -4 + Partials 632 630 -2 ```

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