aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/docs
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2019-08-07 09:36:14 -0400
committerGennadiy Civil <misterg@google.com>2019-08-07 11:57:22 -0400
commitf8f5fcab3bc8496d4073171e83e511a5e51aec6b (patch)
treec948b2ea68054418a66967163f3ec4ef1d2932ac /googlemock/docs
parentdd5402d9d4f3477471abb89a95a60f09edc0cccd (diff)
downloadgoogletest-f8f5fcab3bc8496d4073171e83e511a5e51aec6b.tar.gz
googletest-f8f5fcab3bc8496d4073171e83e511a5e51aec6b.tar.bz2
googletest-f8f5fcab3bc8496d4073171e83e511a5e51aec6b.zip
Googletest export
Fix broken links. PiperOrigin-RevId: 262123510
Diffstat (limited to 'googlemock/docs')
-rw-r--r--googlemock/docs/cook_book.md6
-rw-r--r--googlemock/docs/for_dummies.md3
2 files changed, 5 insertions, 4 deletions
diff --git a/googlemock/docs/cook_book.md b/googlemock/docs/cook_book.md
index f2b7d300..923817ee 100644
--- a/googlemock/docs/cook_book.md
+++ b/googlemock/docs/cook_book.md
@@ -3718,9 +3718,9 @@ A cardinality is used in `Times()` to tell gMock how many times you expect a
call to occur. It doesn't have to be exact. For example, you can say
`AtLeast(5)` or `Between(2, 4)`.
-If the [built-in set](#CardinalityList) of cardinalities doesn't suit you, you
-are free to define your own by implementing the following interface (in
-namespace `testing`):
+If the [built-in set](cheat_sheet.md#CardinalityList) of cardinalities doesn't
+suit you, you are free to define your own by implementing the following
+interface (in namespace `testing`):
```cpp
class CardinalityInterface {
diff --git a/googlemock/docs/for_dummies.md b/googlemock/docs/for_dummies.md
index db579df5..91072828 100644
--- a/googlemock/docs/for_dummies.md
+++ b/googlemock/docs/for_dummies.md
@@ -412,7 +412,8 @@ gMock will report a googletest failure whenever the function is (wrongfully)
called.
We've seen `AtLeast(n)` as an example of fuzzy cardinalities earlier. For the
-list of built-in cardinalities you can use, see [here](#CardinalityList).
+list of built-in cardinalities you can use, see
+[here](cheat_sheet.md#CardinalityList).
The `Times()` clause can be omitted. **If you omit `Times()`, gMock will infer
the cardinality for you.** The rules are easy to remember: