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
e93b5e06
Commit
e93b5e06
authored
Jul 23, 2019
by
Rytis Karpuška
Browse files
Fix small errors in primer.md
parent
b77e5c76
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 @
e93b5e06
...
@@ -193,7 +193,7 @@ objects, you should use `ASSERT_EQ`.
...
@@ -193,7 +193,7 @@ objects, you should use `ASSERT_EQ`.
When doing pointer comparisons use
`*_EQ(ptr, nullptr)`
and
`*_NE(ptr, nullptr)`
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
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
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
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:
...
@@ -456,7 +456,7 @@ When invoked, the `RUN_ALL_TESTS()` macro:
*
Deletes the fixture.
*
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.
*
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