mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 19:23:40 +00:00
fix: enable expected-actual rule from testifylint in module k8s.io/endpointslice
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
parent
a8c955ab42
commit
b1fb8ec375
@ -881,7 +881,7 @@ func TestSetEndpointSliceLabels(t *testing.T) {
|
||||
logger, _ := ktesting.NewTestContext(t)
|
||||
svc := tc.updateSvc(service)
|
||||
labels, updated := setEndpointSliceLabels(logger, tc.epSlice, &svc, controllerName)
|
||||
assert.EqualValues(t, updated, tc.expectedUpdate)
|
||||
assert.EqualValues(t, tc.expectedUpdate, updated)
|
||||
assert.EqualValues(t, tc.expectedLabels, labels)
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user