From 620659ed92829a88ee34134c782bf5b5aa5a0a0c Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Thu, 15 Oct 2020 23:30:37 -0400 Subject: [PATCH] Googletest export Fix typo in the "Assertion Placement" section PiperOrigin-RevId: 337435223 --- googletest/docs/advanced.md | 4 ++-- 1 file 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.