Googletest export

Proliferation of inclusive language.

PiperOrigin-RevId: 387535677
pull/3511/head
Abseil Team 4 years ago committed by Andy Soffer
parent 2d924d7a97
commit 29d2540622
  1. 8
      docs/advanced.md

@ -383,10 +383,10 @@ EXPECT_TRUE(IsCorrectBarIntVector(bar_ints))
## Death Tests
In many applications, there are assertions that can cause application failure if
a condition is not met. These sanity checks, which ensure that the program is in
a known good state, are there to fail at the earliest possible time after some
program state is corrupted. If the assertion checks the wrong condition, then
the program may proceed in an erroneous state, which could lead to memory
a condition is not met. These consistency checks, which ensure that the program
is in a known good state, are there to fail at the earliest possible time after
some program state is corrupted. If the assertion checks the wrong condition,
then the program may proceed in an erroneous state, which could lead to memory
corruption, security holes, or worse. Hence it is vitally important to test that
such assertion statements work as expected.

Loading…
Cancel
Save