Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2019-06-14 19:03:24 +0300
committerRich Trott <rtrott@gmail.com>2019-06-17 16:59:17 +0300
commitdb459e9f72eec7d47504336591ee23a27341dc81 (patch)
tree7dc1266acc6af0799220d2b8a89d7042dab17c83 /doc/api/assert.md
parentc925d1dcaa13e23ae51769c8e9a20e9141a643a4 (diff)
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>
Diffstat (limited to 'doc/api/assert.md')
-rw-r--r--doc/api/assert.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/assert.md b/doc/api/assert.md
index 15a8739e83c..b981b9497bb 100644
--- a/doc/api/assert.md
+++ b/doc/api/assert.md
@@ -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