fix: enable empty and len rules from testifylint

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
Matthieu MOREL
2024-10-10 08:23:14 +02:00
parent 5e238a0c4f
commit e06fb81713
18 changed files with 30 additions and 32 deletions

View File

@ -183,6 +183,6 @@ func TestEtcdEndpointManager(t *testing.T) {
assert.NoError(t, err)
eptsOther, err := emOther.List(context.Background())
assert.NoError(t, err)
assert.Equal(t, len(epts), 1)
assert.Equal(t, len(eptsOther), 1)
assert.Len(t, epts, 1)
assert.Len(t, eptsOther, 1)
}