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:
Rich Trott authored and Michaël Zasso committed 2019-06-18 16:04:11 +02:00
1 parent 7044a7a302
commit 8aeb9cc10f
1 file changed
+2 -2
+2 -2
View File
@@ -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