fix: enable formatter rule from testifylint in module k8s.io/kubernetes

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
Matthieu MOREL
2024-07-14 07:58:03 +00:00
parent 9770283c13
commit b7248077a9
7 changed files with 18 additions and 20 deletions

View File

@@ -23726,7 +23726,7 @@ func TestValidateAppArmorProfileFormat(t *testing.T) {
if test.expectValid {
assert.NoError(t, err, "Profile %s should be valid", test.profile)
} else {
assert.Error(t, err, fmt.Sprintf("Profile %s should not be valid", test.profile))
assert.Errorf(t, err, "Profile %s should not be valid", test.profile)
}
}
}