aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2019-12-26 15:08:14 -0500
committerAndy Soffer <asoffer@google.com>2020-01-02 16:49:14 -0500
commit153909f096334161ddf62e81da1054c8858c4748 (patch)
treec02381eefae247f87bd8a51e744d7cf4e749d929 /googlemock
parentfbe34cecf4ff34e0bed76aefb2b4d31f7b1f6819 (diff)
downloadgoogletest-153909f096334161ddf62e81da1054c8858c4748.tar.gz
googletest-153909f096334161ddf62e81da1054c8858c4748.tar.bz2
googletest-153909f096334161ddf62e81da1054c8858c4748.zip
Googletest export
Fix typo in example. PiperOrigin-RevId: 287212448
Diffstat (limited to 'googlemock')
-rw-r--r--googlemock/docs/cook_book.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/docs/cook_book.md b/googlemock/docs/cook_book.md
index 69c5e4ac..a4935214 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).