summaryrefslogtreecommitdiff
path: root/doc/api/assert.md
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2019-06-14 09:03:24 -0700
committerRich Trott <rtrott@gmail.com>2019-06-17 06:59:17 -0700
commitdb459e9f72eec7d47504336591ee23a27341dc81 (patch)
tree7dc1266acc6af0799220d2b8a89d7042dab17c83 /doc/api/assert.md
parentc925d1dcaa13e23ae51769c8e9a20e9141a643a4 (diff)
downloadandroid-node-v8-db459e9f72eec7d47504336591ee23a27341dc81.tar.gz
android-node-v8-db459e9f72eec7d47504336591ee23a27341dc81.tar.bz2
android-node-v8-db459e9f72eec7d47504336591ee23a27341dc81.zip
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 15a8739e83..b981b9497b 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