Skip to content

Commit

Permalink
Googletest export
Browse files Browse the repository at this point in the history
Fix broken link.

PiperOrigin-RevId: 261940226
  • Loading branch information
Abseil Team authored and gennadiycivil committed Aug 6, 2019
1 parent 2f499db commit b4961ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions googlemock/docs/for_dummies.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ follow:
* Derive a class `MockTurtle` from `Turtle`.
* Take a *virtual* function of `Turtle` (while it's possible to
[mock non-virtual methods using templates](#MockingNonVirtualMethods), it's
much more involved).
[mock non-virtual methods using templates](cook_book.md#MockingNonVirtualMethods),
it's much more involved).
* In the `public:` section of the child class, write `MOCK_METHOD();`
* Now comes the fun part: you take the function signature, cut-and-paste it
into the macro, and add two commas - one between the return type and the
Expand Down

0 comments on commit b4961ab

Please sign in to comment.