Skip to content

Commit 1c325ad

Browse files
authored
test: update fixture (#250)
1 parent ac33f16 commit 1c325ad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,8 @@ func TestRun_Configs(t *testing.T) {
10481048
10491049
no known vulnerabilities found
10501050
`,
1051-
wantStderr: " failed: unable to fetch OSV database: db host returned an unexpected status code (404 Not Found)",
1051+
// for some reason example.com returns a 500 even though the page presents a 404 message
1052+
wantStderr: " failed: unable to fetch OSV database: db host returned an unexpected status code (500 Internal Server Error)",
10521053
},
10531054
// databases from configs are ignored if "--no-config-databases" is passed...
10541055
{

0 commit comments

Comments
 (0)