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:
Matthieu MOREL
2024-06-28 21:20:13 +02:00
parent 40225a788c
commit f014b754fb
54 changed files with 203 additions and 207 deletions

View File

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