mirror of
https://github.com/aquasecurity/trivy.git
synced 2026-02-10 10:43:18 +08:00
ci(deps): fix gocritic in ".*_test.go$" (#6763)
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
@@ -109,7 +109,7 @@ func TestParseDependency(t *testing.T) {
|
||||
name: "pkgsVersions doesn't contain required version",
|
||||
packageName: "test",
|
||||
versionRange: ">=1.0.0",
|
||||
pkgsVersions: map[string][]string{},
|
||||
pkgsVersions: make(map[string][]string),
|
||||
wantErr: "no version found",
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user