diff --git a/doc/api/assert.md b/doc/api/assert.md index a22a6082c3a379..affe1778852a7f 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -890,11 +890,16 @@ parameter is an instance of an [`Error`][] then it will be thrown instead of the ## `assert.doesNotMatch(string, regexp[, message])` +## `assert.doesNotMatch(regexp, string[, message])` +