MCPcopy Create free account
hub / github.com/zalando/postgres-operator / TestIsEqualIgnoreOrder

Function TestIsEqualIgnoreOrder

pkg/util/util_test.go:173–180  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

171}
172
173func TestIsEqualIgnoreOrder(t *testing.T) {
174 for _, tt := range isEqualIgnoreOrderTest {
175 actualEqual := IsEqualIgnoreOrder(tt.inA, tt.inB)
176 if actualEqual != tt.outEqual {
177 t.Errorf("IsEqualIgnoreOrder expected: %t, got: %t", tt.outEqual, actualEqual)
178 }
179 }
180}
181
182func TestStringSliceReplaceElement(t *testing.T) {
183 testSlice := []string{"a", "b", "c"}

Callers

nothing calls this directly

Calls 1

IsEqualIgnoreOrderFunction · 0.85

Tested by

no test coverage detected