mirror of
https://github.com/anchore/syft.git
synced 2026-10-30 14:02:26 +01:00
fix tests and linting
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
@@ -24,7 +24,7 @@ func TestPackageOwnershipRelationships(t *testing.T) {
|
||||
t.Run(test.fixture, func(t *testing.T) {
|
||||
sbom, _ := catalogFixtureImage(t, test.fixture)
|
||||
|
||||
p := syftjson.Format().Presenter(sbom)
|
||||
p := syftjson.Format().Presenter(sbom, nil)
|
||||
if p == nil {
|
||||
t.Fatal("unable to get presenter")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user