Closed daniel-nichter closed 4 years ago
On second thought, this isn't a bug per-se. These would be different to reflect.DeepEqual because different types are inherently not equal. What this introduces is a more high-level, abstract equality for error
based only on their Error() string
values. Will hold off on this for now.
Those should be equal, but as of v1.0.5 they're not:
because,
we don't return from that block if they're equal, we keep comparing which results in the false positive on their different underlying type.