Closed tareksha closed 1 year ago
Looks good to me - thanks!
Would you be up for updating the docs here:
https://onsi.github.io/gomega/#matcherrorexpected-interface
(it's the index.md file in the docs directory)
@onsi done
perfect, thanks!
@onsi thanks for accepting the change. when is this expected to be released?
hey - I'll cut a release once #619 gets merged in.
this just shipped in 1.25.0
Currently when the actual error is check by
MatchError
, it matches in two cases:errors.Is(..)
returns truethis change expands the second case and performs
DeepEqual
on each error in the chain of unwrapping. This allows matching complex errors that are wrapped, for example: