DeepEquals asserts the array or map matches expected using a deep-equal comparison.
(expected interface{})
| 63 | |
| 64 | // DeepEquals asserts the array or map matches expected using a deep-equal comparison. |
| 65 | func (o OnMap) DeepEquals(expected interface{}) bool { |
| 66 | return o.mapsEqual(expected, compare.DeepEqual) |
| 67 | } |
| 68 | |
| 69 | func (o OnMap) mapsEqual(expected interface{}, same func(a, b interface{}) bool) bool { |
| 70 | return o.Test(func() bool { |