Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
2bd34816
Commit
2bd34816
authored
May 26, 2021
by
Abseil Team
Committed by
Andy Soffer
Jun 02, 2021
Browse files
Googletest export
Fix broken link PiperOrigin-RevId: 375995669
parent
d5d6ff94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
docs/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