mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-01 18:58:18 +00:00
fix: enable empty and len rules from testifylint on pkg package
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com> Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
This commit is contained in:
@@ -1283,7 +1283,7 @@ func TestFastStatusUpdateOnce(t *testing.T) {
|
||||
|
||||
actions := kubeClient.Actions()
|
||||
if tc.wantPatches == 0 {
|
||||
require.Len(t, actions, 0)
|
||||
require.Empty(t, actions)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user