Googletest export
Clean up links to Matchers Reference PiperOrigin-RevId: 370821457
This commit is contained in:
parent
680a5aa337
commit
065a0c8140
@ -399,9 +399,8 @@ and you're ready to go.
|
|||||||
(Please read the [previous](#asserting-using-gmock-matchers) section first if
|
(Please read the [previous](#asserting-using-gmock-matchers) section first if
|
||||||
you haven't.)
|
you haven't.)
|
||||||
|
|
||||||
You can use the gMock
|
You can use the gMock [string matchers](reference/matchers.md#string-matchers)
|
||||||
[string matchers](gmock_cheat_sheet.md#string-matchers) with
|
with `EXPECT_THAT()` or `ASSERT_THAT()` to do more string comparison tricks
|
||||||
`EXPECT_THAT()` or `ASSERT_THAT()` to do more string comparison tricks
|
|
||||||
(sub-string, prefix, suffix, regular expression, and etc). For example,
|
(sub-string, prefix, suffix, regular expression, and etc). For example,
|
||||||
|
|
||||||
```c++
|
```c++
|
||||||
|
@ -1088,7 +1088,8 @@ z`. Note that in this example, it wasn't necessary specify the positional
|
|||||||
matchers.
|
matchers.
|
||||||
|
|
||||||
As a convenience and example, gMock provides some matchers for 2-tuples,
|
As a convenience and example, gMock provides some matchers for 2-tuples,
|
||||||
including the `Lt()` matcher above. See [here](#MultiArgMatchers) for the
|
including the `Lt()` matcher above. See
|
||||||
|
[Multi-argument Matchers](reference/matchers.md#MultiArgMatchers) for the
|
||||||
complete list.
|
complete list.
|
||||||
|
|
||||||
Note that if you want to pass the arguments to a predicate of your own (e.g.
|
Note that if you want to pass the arguments to a predicate of your own (e.g.
|
||||||
|
Loading…
Reference in New Issue
Block a user