func TestRecycleSlices(t *testing.T) { … } // Test helpers func expectEqualSlices(t *testing.T, actual, expected []*discovery.EndpointSlice) { … } func simpleEndpointSlice(name, ip string, addrType discovery.AddressType) *discovery.EndpointSlice { … }