summaryrefslogtreecommitdiff
path: root/googletest/docs
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2020-10-15 23:30:37 -0400
committerDerek Mauro <dmauro@google.com>2020-10-19 14:01:36 -0400
commit620659ed92829a88ee34134c782bf5b5aa5a0a0c (patch)
treee006ba1b47725638ff51aa6cc65ede2177278ca7 /googletest/docs
parent252ee42d3bb96e6d248063f622ece41ea5dce999 (diff)
downloadgoogletest-git-620659ed92829a88ee34134c782bf5b5aa5a0a0c.tar.gz
Googletest export
Fix typo in the "Assertion Placement" section PiperOrigin-RevId: 337435223
Diffstat (limited to 'googletest/docs')
-rw-r--r--googletest/docs/advanced.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/googletest/docs/advanced.md b/googletest/docs/advanced.md
index ecfdaf53..059fc9d8 100644
--- a/googletest/docs/advanced.md
+++ b/googletest/docs/advanced.md
@@ -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.