Googletest export
Fix errata in gmock cook_book.md ON_CALL example PiperOrigin-RevId: 346165890
This commit is contained in:
parent
a02a591605
commit
8779937dd0
@ -520,7 +520,7 @@ argument matchers:
|
||||
|
||||
```cpp
|
||||
ON_CALL(factory, DoMakeTurtle)
|
||||
.WillByDefault(MakeMockTurtle());
|
||||
.WillByDefault(Return(MakeMockTurtle()));
|
||||
```
|
||||
|
||||
### Alternative to Mocking Concrete Classes
|
||||
|
Loading…
Reference in New Issue
Block a user