Fix linter warning

Signed-off-by: Evans Mungai <mbuevans@gmail.com>
pull/31115/head
Evans Mungai 1 month ago
parent 5e86e43eda
commit 97af5a5e85
No known key found for this signature in database
GPG Key ID: BBEB812143DD14E1

@ -267,6 +267,7 @@ func runPullTests(t *testing.T, tests []struct {
expectFile string expectFile string
expectDir bool expectDir bool
}, outdir string, additionalFlags string) { }, outdir string, additionalFlags string) {
t.Helper()
for _, tt := range tests { for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) { t.Run(tt.name, func(t *testing.T) {
cmd := fmt.Sprintf("pull %s -d '%s' --repository-config %s --repository-cache %s --registry-config %s %s", cmd := fmt.Sprintf("pull %s -d '%s' --repository-config %s --repository-cache %s --registry-config %s %s",

Loading…
Cancel
Save