CustomDeepEquals asserts that the supplied value is equal to the expected value using compare.Diff and the custom comparators.
(expect interface{}, c compare.Custom)
| 75 | // CustomDeepEquals asserts that the supplied value is equal to the expected |
| 76 | // value using compare.Diff and the custom comparators. |
| 77 | func (o OnValue) CustomDeepEquals(expect interface{}, c compare.Custom) bool { |
| 78 | return o.TestCustomDeepDiff(o.value, expect, c) |
| 79 | } |
| 80 | |
| 81 | // DeepEquals asserts that the supplied value is equal to the expected value using compare.Diff. |
| 82 | func (o OnValue) DeepEquals(expect interface{}) bool { |