Commit 8779937d authored by Abseil Team's avatar Abseil Team Committed by Andy Getz
Browse files

Googletest export

Fix errata in gmock cook_book.md ON_CALL example

PiperOrigin-RevId: 346165890
parent a02a5916
......@@ -520,7 +520,7 @@ argument matchers:
```cpp
ON_CALL(factory, DoMakeTurtle)
.WillByDefault(MakeMockTurtle());
.WillByDefault(Return(MakeMockTurtle()));
```
### Alternative to Mocking Concrete Classes
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment