You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: content/api/v18/assert.en.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -509,7 +509,7 @@ An alias of [`assert.deepStrictEqual()`][].
509
509
510
510
**Legacy assertion mode**
511
511
512
-
<Metadata version="v18.9.0" data={{"stability":{"level":3,"text":" - Legacy: Use [`assert.deepStrictEqual()`][] instead."}}} />
512
+
<Metadata version="v18.9.0" data={{"stability":{"level":3,"text":" - Legacy: Use `assert.deepStrictEqual()` instead."}}} />
513
513
514
514
Tests for deep equality between the `actual` and `expected` parameters. Consider
515
515
using [`assert.deepStrictEqual()`][] instead. [`assert.deepEqual()`][] can have
@@ -1091,7 +1091,7 @@ An alias of [`assert.strictEqual()`][].
1091
1091
1092
1092
**Legacy assertion mode**
1093
1093
1094
-
<Metadata version="v18.9.0" data={{"stability":{"level":3,"text":" - Legacy: Use [`assert.strictEqual()`][] instead."}}} />
1094
+
<Metadata version="v18.9.0" data={{"stability":{"level":3,"text":" - Legacy: Use `assert.strictEqual()` instead."}}} />
1095
1095
1096
1096
Tests shallow, coercive equality between the `actual` and `expected` parameters
1097
1097
using the [`==` operator][]. `NaN` is specially handled
@@ -1178,7 +1178,7 @@ See below for further details.
1178
1178
1179
1179
<Metadata version="v18.9.0" data={{"changes":[{"version":"v10.0.0","pr-url":"https://github.com/nodejs/node/pull/18418","description":"Calling`assert.fail()` with more than one argument is deprecated and emits a warning."}],"update":{"type":"added","version":["v0.1.21"]}}} />
1180
1180
1181
-
<Metadata version="v18.9.0" data={{"stability":{"level":0,"text":" - Deprecated: Use `assert.fail([message])` or other assert\n> functions instead."}}} />
1181
+
<Metadata version="v18.9.0" data={{"stability":{"level":0,"text":" - Deprecated: Use `assert.fail([message])` or other assert functions instead."}}} />
0 commit comments