EqualsWithComparator asserts the array or map matches expected using a comparator function
(expected interface{}, same func(a, b interface{}) bool)
| 58 | |
| 59 | // EqualsWithComparator asserts the array or map matches expected using a comparator function |
| 60 | func (o OnMap) EqualsWithComparator(expected interface{}, same func(a, b interface{}) bool) bool { |
| 61 | return o.mapsEqual(expected, same) |
| 62 | } |
| 63 | |
| 64 | // DeepEquals asserts the array or map matches expected using a deep-equal comparison. |
| 65 | func (o OnMap) DeepEquals(expected interface{}) bool { |