summaryrefslogtreecommitdiff
path: root/doc/api/assert.md
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2021-04-06 09:54:49 -0700
committerJames M Snell <jasnell@gmail.com>2021-04-08 11:21:29 -0700
commit944a956087d4a3379f1fc68b3efc1bc6ea6c2f55 (patch)
tree19081383a6739e36c9e4279d8b7da12ea3746a36 /doc/api/assert.md
parentbc531d1860e822db4e12ef424073ce438234fbe5 (diff)
downloadnode-new-944a956087d4a3379f1fc68b3efc1bc6ea6c2f55.tar.gz
assert: graduate assert.match and assert.doesNotMatch
Signed-off-by: James M Snell <jasnell@gmail.com> PR-URL: https://github.com/nodejs/node/pull/38111 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Darshan Sen <raisinten@gmail.com>
Diffstat (limited to 'doc/api/assert.md')
-rw-r--r--doc/api/assert.md18
1 files changed, 8 insertions, 10 deletions
diff --git a/doc/api/assert.md b/doc/api/assert.md
index 5c73e1085e..bfdd7cdd08 100644
--- a/doc/api/assert.md
+++ b/doc/api/assert.md
@@ -876,19 +876,18 @@ parameter is an instance of an [`Error`][] then it will be thrown instead of the
added:
- v13.6.0
- v12.16.0
+changes:
+ - version: REPLACEME
+ pr-url: https://github.com/nodejs/node/pull/38111
+ description: This API is no longer experimental.
-->
* `string` {string}
* `regexp` {RegExp}
* `message` {string|Error}
-> Stability: 1 - Experimental
-
Expects the `string` input not to match the regular expression.
-This feature is currently experimental and the name might change or it might be
-completely removed again.
-
```mjs
import assert from 'assert/strict';
@@ -1398,19 +1397,18 @@ let err;
added:
- v13.6.0
- v12.16.0
+changes:
+ - version: REPLACEME
+ pr-url: https://github.com/nodejs/node/pull/38111
+ description: This API is no longer experimental.
-->
* `string` {string}
* `regexp` {RegExp}
* `message` {string|Error}
-> Stability: 1 - Experimental
-
Expects the `string` input to match the regular expression.
-This feature is currently experimental and the name might change or it might be
-completely removed again.
-
```mjs
import assert from 'assert/strict';