Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Googletest
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Meng
Googletest
Commits
e93b5e06
Commit
e93b5e06
authored
5 years ago
by
Rytis Karpuška
Browse files
Options
Downloads
Patches
Plain Diff
Fix small errors in primer.md
parent
b77e5c76
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
googletest/docs/primer.md
+2
-2
2 additions, 2 deletions
googletest/docs/primer.md
with
2 additions
and
2 deletions
googletest/docs/primer.md
+
2
−
2
View file @
e93b5e06
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment