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
620659ed
Commit
620659ed
authored
Oct 15, 2020
by
Abseil Team
Committed by
Derek Mauro
Oct 19, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Googletest export
Fix typo in the "Assertion Placement" section PiperOrigin-RevId: 337435223
parent
252ee42d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
advanced.md
googletest/docs/advanced.md
+2
-2
No files found.
googletest/docs/advanced.md
View file @
620659ed
...
...
@@ -528,8 +528,8 @@ a `SetUp`/`TearDown` function; see
[
constructor/destructor vs. `SetUp`/`TearDown`
](
faq.md#CtorVsSetUp
)
WARNING: A fatal assertion in a helper function (private void-returning method)
called from a constructor or destructor does not
does not terminate the current
test, as
your intuition might suggest: it merely returns from the constructor or
called from a constructor or destructor does not
terminate the current test, as
your intuition might suggest: it merely returns from the constructor or
destructor early, possibly leaving your object in a partially-constructed or
partially-destructed state! You almost certainly want to
`abort`
or use
`SetUp`
/
`TearDown`
instead.
...
...
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