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
05747d2e
Commit
05747d2e
authored
Jul 29, 2019
by
Gennadiy Civil
Browse files
Merge pull request #2342 from Jauler:master
PiperOrigin-RevId: 260556093
parents
3821ecd5
e93b5e06
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
googletest/docs/primer.md
googletest/docs/primer.md
+2
-2
No files found.
googletest/docs/primer.md
View file @
05747d2e
...
...
@@ -193,7 +193,7 @@ objects, you should use `ASSERT_EQ`.
When doing pointer comparisons use
`*_EQ(ptr, nullptr)`
and
`*_NE(ptr, nullptr)`
instead of
`*_EQ(ptr, NULL)`
and
`*_NE(ptr, NULL)`
. This is because
`nullptr`
is
typed while
`NULL`
is not. See
[
FAQ
](
faq.md
)
for more details.
typed while
`NULL`
is not. See
[
FAQ
](
faq.md
)
for more details.
If you're working with floating point numbers, you may want to use the floating
point variations of some of these macros in order to avoid problems caused by
...
...
@@ -456,7 +456,7 @@ When invoked, the `RUN_ALL_TESTS()` macro:
*
Deletes the fixture.
*
Restores the state of all
all
googletest flags
*
Restores the state of all googletest flags
*
Repeats the above steps for the next test, until all tests have run.
...
...
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