diff options
author | Abseil Team <absl-team@google.com> | 2019-12-26 20:08:14 (GMT) |
---|---|---|
committer | Andy Soffer <asoffer@google.com> | 2020-01-02 21:49:14 (GMT) |
commit | 153909f096334161ddf62e81da1054c8858c4748 (patch) | |
tree | c02381eefae247f87bd8a51e744d7cf4e749d929 | |
parent | fbe34cecf4ff34e0bed76aefb2b4d31f7b1f6819 (diff) | |
download | googletest-153909f096334161ddf62e81da1054c8858c4748.zip googletest-153909f096334161ddf62e81da1054c8858c4748.tar.gz googletest-153909f096334161ddf62e81da1054c8858c4748.tar.bz2 |
Googletest export
Fix typo in example.
PiperOrigin-RevId: 287212448
-rw-r--r-- | googlemock/docs/cook_book.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/docs/cook_book.md b/googlemock/docs/cook_book.md index 69c5e4a..a493521 100644 --- a/googlemock/docs/cook_book.md +++ b/googlemock/docs/cook_book.md @@ -2202,7 +2202,7 @@ class Helper { .WillOnce(&CalculateSum) .WillRepeatedly(Invoke(NewPermanentCallback(Sum3, 1))); EXPECT_CALL(foo, ComplexJob(_)) - .WillOnce(Invoke(&helper, &Helper::ComplexJob)); + .WillOnce(Invoke(&helper, &Helper::ComplexJob)) .WillRepeatedly([](int x) { return x > 0; }); foo.Sum(5, 6); // Invokes CalculateSum(5, 6). |