diff options
author | Abseil Team <absl-team@google.com> | 2020-12-07 21:22:17 (GMT) |
---|---|---|
committer | Andy Getz <durandal@google.com> | 2020-12-07 23:04:19 (GMT) |
commit | 8779937dd05016e3a96e477d2bb1f94947486605 (patch) | |
tree | d6ef12edfd26c6226a7b9da7c7d772b93161609d /googlemock/docs | |
parent | a02a591605dfef9addde49634bf010dbe8f95c50 (diff) | |
download | googletest-8779937dd05016e3a96e477d2bb1f94947486605.zip googletest-8779937dd05016e3a96e477d2bb1f94947486605.tar.gz googletest-8779937dd05016e3a96e477d2bb1f94947486605.tar.bz2 |
Googletest export
Fix errata in gmock cook_book.md ON_CALL example
PiperOrigin-RevId: 346165890
Diffstat (limited to 'googlemock/docs')
-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 c29d4c3..cfe5858 100644 --- a/googlemock/docs/cook_book.md +++ b/googlemock/docs/cook_book.md @@ -520,7 +520,7 @@ argument matchers: ```cpp ON_CALL(factory, DoMakeTurtle) - .WillByDefault(MakeMockTurtle()); + .WillByDefault(Return(MakeMockTurtle())); ``` ### Alternative to Mocking Concrete Classes |