mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-17 15:50:10 +00:00
Merge pull request #127686 from mmorel-35/testifylint/expected-actual@k8s.io/endpointslice
fix: enable expected-actual rule from testifylint in module `k8s.io/endpointslice`
This commit is contained in:
commit
9c8553bd37
@ -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