From 8779937dd05016e3a96e477d2bb1f94947486605 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Mon, 7 Dec 2020 16:22:17 -0500 Subject: [PATCH] Googletest export Fix errata in gmock cook_book.md ON_CALL example PiperOrigin-RevId: 346165890 --- googlemock/docs/cook_book.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/googlemock/docs/cook_book.md b/googlemock/docs/cook_book.md index c29d4c32..cfe5858f 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