mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-20 15:04:17 +00:00
golangci-lint: use exclude-rules instead of skip-files and skip-dirs
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
@@ -1000,7 +1000,7 @@ func TestBatchForget(t *testing.T) {
|
||||
})
|
||||
|
||||
if tc.expectedErr == nil {
|
||||
assert.Equal(t, 0, len(errs))
|
||||
assert.Empty(t, errs)
|
||||
} else {
|
||||
assert.Equal(t, len(tc.expectedErr), len(errs))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user