diff options
Diffstat (limited to 'doc/api/assert.md')
-rw-r--r-- | doc/api/assert.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/api/assert.md b/doc/api/assert.md index f3202c214b..efc0f4e078 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -645,6 +645,11 @@ parameter is an instance of an [`Error`][] then it will be thrown instead of the ## assert.ok(value[, message]) <!-- YAML added: v0.1.21 +changes: + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/17581 + description: assert.ok() will throw a `ERR_MISSING_ARGS` error. + Use assert.fail() instead. --> * `value` {any} * `message` {any} |