Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
065a0c81
Commit
065a0c81
authored
Apr 27, 2021
by
Abseil Team
Committed by
Derek Mauro
Apr 29, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Googletest export
Clean up links to Matchers Reference PiperOrigin-RevId: 370821457
parent
680a5aa3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
advanced.md
docs/advanced.md
+2
-3
gmock_cook_book.md
docs/gmock_cook_book.md
+2
-1
No files found.
docs/advanced.md
View file @
065a0c81
...
...
@@ -399,9 +399,8 @@ and you're ready to go.
(Please read the
[
previous
](
#asserting-using-gmock-matchers
)
section first if
you haven't.)
You can use the gMock
[
string matchers
](
gmock_cheat_sheet.md#string-matchers
)
with
`EXPECT_THAT()`
or
`ASSERT_THAT()`
to do more string comparison tricks
You can use the gMock
[
string matchers
](
reference/matchers.md#string-matchers
)
with
`EXPECT_THAT()`
or
`ASSERT_THAT()`
to do more string comparison tricks
(sub-string, prefix, suffix, regular expression, and etc). For example,
```
c++
...
...
docs/gmock_cook_book.md
View file @
065a0c81
...
...
@@ -1088,7 +1088,8 @@ z`. Note that in this example, it wasn't necessary specify the positional
matchers.
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.
Note that if you want to pass the arguments to a predicate of your own (e.g.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment