mirror of
https://github.com/anchore/syft.git
synced 2026-10-30 14:02:26 +01:00
refactor command package to remove globals and add dependency injection
This commit is contained in:
@@ -21,13 +21,6 @@ func TestPowerUserCmdFlags(t *testing.T) {
|
||||
assertFailingReturnCode,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "json-output-flag-fails",
|
||||
args: []string{"power-user", "-o", "json", "docker-archive:" + getFixtureImage(t, "image-pkg-coverage")},
|
||||
assertions: []traitAssertion{
|
||||
assertFailingReturnCode,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "default-results-w-pkg-coverage",
|
||||
args: []string{"power-user", "docker-archive:" + getFixtureImage(t, "image-pkg-coverage")},
|
||||
|
||||
Reference in New Issue
Block a user