testifylint: enable compares rule

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
Matthieu MOREL
2024-04-14 20:15:33 +00:00
parent a0b7382e5a
commit 1010b04821
4 changed files with 7 additions and 11 deletions

View File

@@ -3598,7 +3598,7 @@ func assertResourceCreationOrder(t *testing.T, resourcePriorities []string, crea
// the index of the current resource must be the same as or greater than the index of
// the last resource we saw for the restored order to be correct.
assert.True(t, current >= lastSeen, "%s was restored out of order", r.groupResource)
assert.GreaterOrEqual(t, current, lastSeen, "%s was restored out of order", r.groupResource)
lastSeen = current
}
}