summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2022-12-20 09:25:53 -0800
committerCopybara-Service <copybara-worker@google.com>2022-12-20 09:26:42 -0800
commit5ab508a01f9eb089207ee87fd547d290da39d015 (patch)
tree8585b86da308412dc98e5474089779a9ccae7f1d /docs
parentb3bfebd796a5875360ee1c90237931e8e0bae9f5 (diff)
downloadgoogletest-git-5ab508a01f9eb089207ee87fd547d290da39d015.tar.gz
Fix a typo in the documentation for "Using Predicates as Matchers".
PiperOrigin-RevId: 496679950 Change-Id: I2842050902876231d49a142165bcbb88d737505d
Diffstat (limited to 'docs')
-rw-r--r--docs/gmock_cook_book.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/gmock_cook_book.md b/docs/gmock_cook_book.md
index 7672457c..fc7db35b 100644
--- a/docs/gmock_cook_book.md
+++ b/docs/gmock_cook_book.md
@@ -1158,7 +1158,7 @@ int IsEven(int n) { return (n % 2) == 0 ? 1 : 0; }
```
Note that the predicate function / functor doesn't have to return `bool`. It
-works as long as the return value can be used as the condition in in statement
+works as long as the return value can be used as the condition in the statement
`if (condition) ...`.
### Matching Arguments that Are Not Copyable