fix tests and linting

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
Alex Goodman
2021-11-22 14:36:53 -05:00
parent e809403e94
commit d52894ce86
3 changed files with 4 additions and 13 deletions
@@ -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")
}