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
620659ed
Commit
620659ed
authored
Oct 15, 2020
by
Abseil Team
Committed by
Derek Mauro
Oct 19, 2020
Browse files
Googletest export
Fix typo in the "Assertion Placement" section PiperOrigin-RevId: 337435223
parent
252ee42d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
googletest/docs/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