You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modify DisplayMatcher::explain_match to invoke explain_match on its inner matcher.
Generally matchers which contain inner matchers should always invoke `explain_match` on those inner matchers in their own `explain_match` implementations. Otherwise, any information gleaned from that inner matcher's explanation is lost.
In this case, the newly introduced string diff was lost whenever a string matcher was invoked inside `displays_as`. Now, it is displayed.
PiperOrigin-RevId: 533481815
0 commit comments