Skip to content

Commit 7b3fa40

Browse files
bjacotgcopybara-github
authored andcommitted
Switch a ! mr.is_match() to mr.is_no_match()
PiperOrigin-RevId: 548617918
1 parent 6cd4055 commit 7b3fa40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

googletest/src/matchers/all_matcher.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ pub mod internal {
109109
let failures = self
110110
.components
111111
.iter()
112-
.filter(|component| !component.matches(actual).is_match())
112+
.filter(|component| component.matches(actual).is_no_match())
113113
.map(|component| component.explain_match(actual))
114114
.collect::<Description>();
115115
if failures.len() == 1 {

0 commit comments

Comments
 (0)