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
2bd34816
Commit
2bd34816
authored
May 26, 2021
by
Abseil Team
Committed by
Andy Soffer
Jun 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Googletest export
Fix broken link PiperOrigin-RevId: 375995669
parent
d5d6ff94
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
primer.md
docs/primer.md
+2
-3
No files found.
docs/primer.md
View file @
2bd34816
...
...
@@ -119,9 +119,8 @@ this in mind if you get a heap checker error in addition to assertion errors.
To provide a custom failure message, simply stream it into the macro using the
`<<`
operator or a sequence of such operators. See the following example, using
the
[
`ASSERT_EQ` and `EXPECT_EQ`
](
reference/assertions.md?cl=374325853#EXPECT_EQ
)
macros to verify value equality:
the
[
`ASSERT_EQ` and `EXPECT_EQ`
](
reference/assertions.md#EXPECT_EQ
)
macros to
verify value equality:
```
c++
ASSERT_EQ
(
x
.
size
(),
y
.
size
())
<<
"Vectors x and y are of unequal length"
;
...
...
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