mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 23:16:30 +01:00
Remove unused argument value
Signed-off-by: Dan Luhring <dan.luhring@anchore.com>
This commit is contained in:
@@ -124,7 +124,7 @@ func TestParsePackageJSON(t *testing.T) {
|
|||||||
t.Fatalf("failed to open fixture: %+v", err)
|
t.Fatalf("failed to open fixture: %+v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
actual, err := parsePackageJSON(fixture.Name(), fixture)
|
actual, err := parsePackageJSON("", fixture)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("failed to parse package-lock.json: %+v", err)
|
t.Fatalf("failed to parse package-lock.json: %+v", err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user