summaryrefslogtreecommitdiffstats
path: root/googlemock/docs
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2019-08-06 17:13:58 (GMT)
committerGennadiy Civil <misterg@google.com>2019-08-06 17:14:56 (GMT)
commitb4961ab1cbda56295823594e4214b0c188052fef (patch)
treeb75f4787fdd6c242a3927d2bbe74b34c33aabd9d /googlemock/docs
parent2f499db00e40e3c893a6e4028732c68ecfe0bda1 (diff)
downloadgoogletest-b4961ab1cbda56295823594e4214b0c188052fef.zip
googletest-b4961ab1cbda56295823594e4214b0c188052fef.tar.gz
googletest-b4961ab1cbda56295823594e4214b0c188052fef.tar.bz2
Googletest export
Fix broken link. PiperOrigin-RevId: 261940226
Diffstat (limited to 'googlemock/docs')
-rw-r--r--googlemock/docs/for_dummies.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/googlemock/docs/for_dummies.md b/googlemock/docs/for_dummies.md
index 3bccd2b..db579df 100644
--- a/googlemock/docs/for_dummies.md
+++ b/googlemock/docs/for_dummies.md
@@ -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