fix a typo

This commit is contained in:
Krystian Kuzniarek 2019-11-02 01:18:21 +01:00
parent e8a82dc7ed
commit f658561ef2

View File

@ -1323,7 +1323,7 @@ class PredicateFormatterFromMatcher {
<< "Expected: "; << "Expected: ";
matcher.DescribeTo(&ss); matcher.DescribeTo(&ss);
// Rerun the matcher to "PrintAndExain" the failure. // Rerun the matcher to "PrintAndExplain" the failure.
StringMatchResultListener listener; StringMatchResultListener listener;
if (MatchPrintAndExplain(x, matcher, &listener)) { if (MatchPrintAndExplain(x, matcher, &listener)) {
ss << "\n The matcher failed on the initial attempt; but passed when " ss << "\n The matcher failed on the initial attempt; but passed when "