Skip to content

Commit

Permalink
test: update expected stderr output (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath authored Oct 28, 2024
1 parent 7846a58 commit 0f84370
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1050,8 +1050,7 @@ func TestRun_Configs(t *testing.T) {
no known vulnerabilities found
`,
// for some reason example.com returns a 500 even though the page presents a 404 message
wantStderr: " failed: unable to fetch OSV database: db host returned an unexpected status code (500 Internal Server Error)",
wantStderr: " failed: unable to fetch OSV database: db host returned an unexpected status code (404 Not Found)",
},
// databases from configs are ignored if "--no-config-databases" is passed...
{
Expand Down

0 comments on commit 0f84370

Please sign in to comment.