- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for SortSlices (0.18 sec)
-
pkg/controller/servicecidrs/servicecidrs_controller_test.go
_, controller := newController(tCtx, t, tt.cidrs, nil) err := controller.syncCIDRs() if err != nil { t.Fatal(err) } if got := controller.containingServiceCIDRs(tt.ip); !cmp.Equal(got, tt.want, cmpopts.SortSlices(func(a, b string) bool { return a < b })) { t.Errorf("Controller.ipToCidrs() = %v, want %v", got, tt.want) } }) } } func TestController_cidrToCidrs(t *testing.T) { tests := []struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 22K bytes - Viewed (0)