The NamePredicate is quite handy for improving the readability of
failed assertions (in my case, when using the mockall crate). This PR
adds the specified name to the output of find_case, which NamePredicate
previously forwarded transparently to the child predicate.
The
NamePredicate
is quite handy for improving the readability of failed assertions (in my case, when using themockall
crate). This PR adds the specified name to the output offind_case
, whichNamePredicate
previously forwarded transparently to the child predicate.