mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
doc: revise intro sentence for assert
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: https://github.com/nodejs/node/pull/28226
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
1 parent
7044a7a302
commit
8aeb9cc10f
1 file changed
+2
-2
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user