mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-07 05:46:37 +00:00
linter(testifylint): use Len or Empty for arrays testing (#7555)
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
@@ -592,7 +592,7 @@ func TestRestoreReconcile(t *testing.T) {
|
||||
return
|
||||
}
|
||||
if !test.addValidFinalizer {
|
||||
assert.Equal(t, 1, len(restorer.Calls))
|
||||
assert.Len(t, restorer.Calls, 1)
|
||||
}
|
||||
|
||||
// validate Patch call 2 (setting phase)
|
||||
|
||||
Reference in New Issue
Block a user