mirror of
https://github.com/google/googletest.git
synced 2026-07-30 16:26:24 +08:00
Merge 4ae270979823394bdba49f67792fbecbc7366daf into a0f06a70e3da7afa88da9527c43951bca1f7cef2
This commit is contained in:
commit
cc54859f60
@ -3732,7 +3732,7 @@ class [[nodiscard]] ElementsAreMatcherImpl
|
||||
// the end of either the elements or the matchers, or until we find a
|
||||
// mismatch.
|
||||
for (; it != stl_container.end() && exam_pos != count(); ++it, ++exam_pos) {
|
||||
bool match; // Does the current element match the current matcher?
|
||||
bool match = false; // Does the current element match the current matcher?
|
||||
if (listener_interested) {
|
||||
StringMatchResultListener s;
|
||||
match = matchers_[exam_pos].MatchAndExplain(*it, &s);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user