Skip to content

Commit

Permalink
doc: revise intro sentence for assert
Browse files Browse the repository at this point in the history
Simplify language, remove redundancy ("tests that can be used to
test") and remove wordy passive voice ("that can be used to" replaced
with "for").

PR-URL: #28226
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
Trott authored and targos committed Jun 18, 2019
1 parent 7044a7a commit 8aeb9cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/assert.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

> Stability: 2 - Stable
The `assert` module provides a simple set of assertion tests that can be used to
test invariants. The module provides a recommended [`strict` mode][] and a more
The `assert` module provides a set of assertion functions for verifying
invariants. The module provides a recommended [`strict` mode][] and a more
lenient `legacy` mode.

For more information about the used equality comparisons see
Expand Down

0 comments on commit 8aeb9cc

Please sign in to comment.