- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for sameStringSlice (0.13 sec)
-
operator/pkg/util/util_test.go
t.Run(tt.desc, func(t *testing.T) { if got, want := StringBoolMapToSlice(tt.in), tt.want; !(sameStringSlice(got, want)) { t.Errorf("%s: got:%s, want: %s", tt.desc, got, want) } }) } } // Helper function to check if values in 2 slices are the same, // no correspondence to order func sameStringSlice(x, y []string) bool { if len(x) != len(y) { return false }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 4.9K bytes - Viewed (0)