mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-22 07:10:41 -08:00
test: include integration tests in linting and fix all issues (#9060)
This commit is contained in:
@@ -76,8 +76,7 @@ func TestConvert(t *testing.T) {
|
||||
outputFile = tt.golden
|
||||
}
|
||||
|
||||
osArgs = append(osArgs, "--output", outputFile)
|
||||
osArgs = append(osArgs, tt.args.input)
|
||||
osArgs = append(osArgs, "--output", outputFile, tt.args.input)
|
||||
|
||||
// Run "trivy convert"
|
||||
runTest(t, osArgs, tt.golden, outputFile, types.Format(tt.args.format), runOptions{
|
||||
|
||||
Reference in New Issue
Block a user