mirror of
https://github.com/google/googletest.git
synced 2024-12-26 17:41:03 +08:00
Googletest export
Fix typo in the "Assertion Placement" section PiperOrigin-RevId: 337435223
This commit is contained in:
parent
252ee42d3b
commit
620659ed92
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user