test: update go classifier to new snippet workflow

Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com>
This commit is contained in:
Christopher Phillips 2023-12-19 12:21:16 -05:00
parent 0b4f9ad9bb
commit b92ccf8dc7
No known key found for this signature in database
GPG Key ID: 17F8FF2EA7EF0AA0
3 changed files with 4 additions and 4 deletions

View File

@ -503,12 +503,12 @@ func Test_Cataloger_DefaultClassifiers_PositiveCases(t *testing.T) {
}, },
{ {
name: "positive-go", name: "positive-go",
fixtureDir: "test-fixtures/classifiers/positive/go-1.14", fixtureDir: "test-fixtures/classifiers/positive/go-1.21.3",
expected: pkg.Package{ expected: pkg.Package{
Name: "go", Name: "go",
Version: "1.14", Version: "1.21.3",
PURL: "pkg:generic/go@1.14", PURL: "pkg:generic/go@1.21.3",
Locations: locations("go"), Locations: locations("go-1.21.3-6a05bd57efff25a9d682b8e25ce572ee7ff723f4f5bcbba6429012121e247365-7879390-100/go"),
Metadata: metadata("go-binary"), Metadata: metadata("go-binary"),
}, },
}, },