summaryrefslogtreecommitdiff
path: root/doc/api/assert.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/assert.md')
-rw-r--r--doc/api/assert.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/assert.md b/doc/api/assert.md
index ba907fa305..e89bfcd21d 100644
--- a/doc/api/assert.md
+++ b/doc/api/assert.md
@@ -624,15 +624,15 @@ changes:
deprecated and emits a warning.
-->
+> Stability: 0 - Deprecated: Use `assert.fail([message])` or other assert
+> functions instead.
+
* `actual` {any}
* `expected` {any}
* `message` {string|Error}
* `operator` {string} **Default:** `'!='`
* `stackStartFn` {Function} **Default:** `assert.fail`
-> Stability: 0 - Deprecated: Use `assert.fail([message])` or other assert
-> functions instead.
-
If `message` is falsy, the error message is set as the values of `actual` and
`expected` separated by the provided `operator`. If just the two `actual` and
`expected` arguments are provided, `operator` will default to `'!='`. If