Skip to content

Commit 5ab508a

Browse files
Abseil Teamcopybara-github
Abseil Team
authored andcommitted
Fix a typo in the documentation for "Using Predicates as Matchers".
PiperOrigin-RevId: 496679950 Change-Id: I2842050902876231d49a142165bcbb88d737505d
1 parent b3bfebd commit 5ab508a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/gmock_cook_book.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ int IsEven(int n) { return (n % 2) == 0 ? 1 : 0; }
11581158
```
11591159

11601160
Note that the predicate function / functor doesn't have to return `bool`. It
1161-
works as long as the return value can be used as the condition in in statement
1161+
works as long as the return value can be used as the condition in the statement
11621162
`if (condition) ...`.
11631163

11641164
### Matching Arguments that Are Not Copyable

0 commit comments

Comments
 (0)