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
29d25406
Commit
29d25406
authored
Jul 29, 2021
by
Abseil Team
Committed by
Andy Soffer
Aug 04, 2021
Browse files
Googletest export
Proliferation of inclusive language. PiperOrigin-RevId: 387535677
parent
2d924d7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
docs/advanced.md
docs/advanced.md
+4
-4
No files found.
docs/advanced.md
View file @
29d25406
...
@@ -383,10 +383,10 @@ EXPECT_TRUE(IsCorrectBarIntVector(bar_ints))
...
@@ -383,10 +383,10 @@ EXPECT_TRUE(IsCorrectBarIntVector(bar_ints))
## Death Tests
## Death Tests
In many applications, there are assertions that can cause application failure if
In many applications, there are assertions that can cause application failure if
a condition is not met. These
sanit
y checks, which ensure that the program
is in
a condition is not met. These
consistenc
y checks, which ensure that the program
a known good state, are there to fail at the earliest possible time after
some
is in
a known good state, are there to fail at the earliest possible time after
program state is corrupted. If the assertion checks the wrong condition,
then
some
program state is corrupted. If the assertion checks the wrong condition,
the program may proceed in an erroneous state, which could lead to memory
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
corruption, security holes, or worse. Hence it is vitally important to test that
such assertion statements work as expected.
such assertion statements work as expected.
...
...
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