Googletest export

Fix errata in gmock cook_book.md ON_CALL example

PiperOrigin-RevId: 346165890
This commit is contained in:
Abseil Team 2020-12-07 16:22:17 -05:00 committed by Andy Getz
parent a02a591605
commit 8779937dd0

View File

@ -520,7 +520,7 @@ argument matchers:
```cpp
ON_CALL(factory, DoMakeTurtle)
.WillByDefault(MakeMockTurtle());
.WillByDefault(Return(MakeMockTurtle()));
```
### Alternative to Mocking Concrete Classes