diff options
author | Abseil Team <absl-team@google.com> | 2021-05-06 18:24:42 -0400 |
---|---|---|
committer | CJ Johnson <johnsoncj@google.com> | 2021-05-13 15:08:33 -0400 |
commit | 5cfc63ddd5574a0df254f4a1c9044479737554ca (patch) | |
tree | d48ce8056e4d5afcd5fde733a264bd877f36956c /docs/reference | |
parent | df157130cbaebd7b0a1840eef607e768b729f0e7 (diff) | |
download | googletest-git-5cfc63ddd5574a0df254f4a1c9044479737554ca.tar.gz |
Googletest export
Fix links in Matchers Reference
PiperOrigin-RevId: 372436732
Diffstat (limited to 'docs/reference')
-rw-r--r-- | docs/reference/matchers.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/reference/matchers.md b/docs/reference/matchers.md index a2ded435..98968c5d 100644 --- a/docs/reference/matchers.md +++ b/docs/reference/matchers.md @@ -55,7 +55,7 @@ will be changed. `IsTrue` and `IsFalse` are useful when you need to use a matcher, or for types that can be explicitly converted to Boolean, but are not implicitly converted to Boolean. In other cases, you can use the basic -[`EXPECT_TRUE` and `EXPECT_FALSE`](primer.md#basic-assertions) assertions. +[`EXPECT_TRUE` and `EXPECT_FALSE`](../primer.md#basic-assertions) assertions. ### Floating-Point Matchers {#FpMatchers} @@ -100,7 +100,7 @@ The `argument` can be either a C string or a C++ string object: `ContainsRegex()` and `MatchesRegex()` take ownership of the `RE` object. They use the regular expression syntax defined -[here](advanced.md#regular-expression-syntax). All of these matchers, except +[here](../advanced.md#regular-expression-syntax). All of these matchers, except `ContainsRegex()` and `MatchesRegex()` work for wide strings as well. ### Container Matchers @@ -242,7 +242,7 @@ You can make a matcher from one or more other matchers: | Matcher | Description | | :---------------------- | :------------------------------------ | | `MatcherCast<T>(m)` | casts matcher `m` to type `Matcher<T>`. | -| `SafeMatcherCast<T>(m)` | [safely casts](gmock_cook_book.md#casting-matchers) matcher `m` to type `Matcher<T>`. | +| `SafeMatcherCast<T>(m)` | [safely casts](../gmock_cook_book.md#SafeMatcherCast) matcher `m` to type `Matcher<T>`. | | `Truly(predicate)` | `predicate(argument)` returns something considered by C++ to be true, where `predicate` is a function or functor. | `AddressSatisfies(callback)` and `Truly(callback)` take ownership of `callback`, |