- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SortSlices (0.13 sec)
-
pkg/apis/apps/validation/validation_test.go
), errs: field.ErrorList{ field.Invalid(field.NewPath("spec", "ordinals.start"), nil, ""), }, }, } cmpOpts := []cmp.Option{cmpopts.IgnoreFields(field.Error{}, "BadValue", "Detail"), cmpopts.SortSlices(func(a, b *field.Error) bool { return a.Error() < b.Error() })} for _, testCase := range append(successCases, errorCases...) { name := testCase.name var testTitle string if len(testCase.errs) == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 111.9K bytes - Viewed (0) -
pkg/scheduler/internal/queue/scheduling_queue_test.go
} if test.wantActiveQPodNames != nil { rawPodInfos := q.activeQ.List() if len(rawPodInfos) != len(test.wantActiveQPodNames) { diff := cmp.Diff(test.wantActiveQPodNames, rawPodInfos, cmpopts.SortSlices(func(a, b interface{}) bool { return a.(framework.PodInfo).Pod.Name < b.(framework.PodInfo).Pod.Name }))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 146.9K bytes - Viewed (0)