ci(deps): fix gocritic in ".*_test.go$" (#6763)

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
Matthieu MOREL
2024-05-24 11:03:26 +02:00
committed by GitHub
parent e3738333b4
commit e86bacbd6d
36 changed files with 78 additions and 68 deletions

View File

@@ -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",
},
}