Skip to content

Commit de1f0f0

Browse files
authored
test(bindings): update vuln IDs in osvdev test (google#3520)
The osvdev test fails due to an extra vulnerability returned on the commit used in the test cases. I think we are not running tests for the newly added Go bindings and we should add this to the workflow.
1 parent 8ba104d commit de1f0f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bindings/go/osvdev/osvdev_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ func TestOSVClient_QueryBatch(t *testing.T) {
9898
"GHSA-5w9c-rv96-fr7g",
9999
},
100100
{ // Commit
101+
"CVE-2024-2002",
101102
"OSV-2023-890",
102103
},
103104
// non-existent package
@@ -257,6 +258,7 @@ func TestOSVClient_Query(t *testing.T) {
257258
Commit: "60e572dbf7b4ded66b488f54773f66aaf6184321",
258259
},
259260
wantIDs: []string{
261+
"CVE-2024-2002",
260262
"OSV-2023-890",
261263
},
262264
},

0 commit comments

Comments
 (0)