|
|
@ -20,6 +20,9 @@ An alias of [`assert.ok()`][]. |
|
|
|
<!-- YAML |
|
|
|
added: v0.1.21 |
|
|
|
changes: |
|
|
|
- version: REPLACEME |
|
|
|
pr-url: https://github.com/nodejs/node/pull/15001 |
|
|
|
description: Error names and messages are now properly compared |
|
|
|
- version: v8.0.0 |
|
|
|
pr-url: https://github.com/nodejs/node/pull/12142 |
|
|
|
description: Set and Map content is also compared |
|
|
@ -105,7 +108,7 @@ parameter is undefined, a default error message is assigned. |
|
|
|
added: v1.2.0 |
|
|
|
changes: |
|
|
|
- version: REPLACEME |
|
|
|
pr-url: https://github.com/nodejs/node/pull/12142 |
|
|
|
pr-url: https://github.com/nodejs/node/pull/15001 |
|
|
|
description: Error names and messages are now properly compared |
|
|
|
- version: v8.0.0 |
|
|
|
pr-url: https://github.com/nodejs/node/pull/12142 |
|
|
@ -345,6 +348,22 @@ assert.ifError(new Error()); |
|
|
|
## assert.notDeepEqual(actual, expected[, message]) |
|
|
|
<!-- YAML |
|
|
|
added: v0.1.21 |
|
|
|
changes: |
|
|
|
- version: REPLACEME |
|
|
|
pr-url: https://github.com/nodejs/node/pull/15001 |
|
|
|
description: Error names and messages are now properly compared |
|
|
|
- version: v8.0.0 |
|
|
|
pr-url: https://github.com/nodejs/node/pull/12142 |
|
|
|
description: Set and Map content is also compared |
|
|
|
- version: v6.4.0, v4.7.1 |
|
|
|
pr-url: https://github.com/nodejs/node/pull/8002 |
|
|
|
description: Typed array slices are handled correctly now. |
|
|
|
- version: v6.1.0, v4.5.0 |
|
|
|
pr-url: https://github.com/nodejs/node/pull/6432 |
|
|
|
description: Objects with circular references can be used as inputs now. |
|
|
|
- version: v5.10.1, v4.4.3 |
|
|
|
pr-url: https://github.com/nodejs/node/pull/5910 |
|
|
|
description: Handle non-`Uint8Array` typed arrays correctly. |
|
|
|
--> |
|
|
|
* `actual` {any} |
|
|
|
* `expected` {any} |
|
|
@ -392,6 +411,22 @@ parameter is undefined, a default error message is assigned. |
|
|
|
## assert.notDeepStrictEqual(actual, expected[, message]) |
|
|
|
<!-- YAML |
|
|
|
added: v1.2.0 |
|
|
|
changes: |
|
|
|
- version: REPLACEME |
|
|
|
pr-url: https://github.com/nodejs/node/pull/15001 |
|
|
|
description: Error names and messages are now properly compared |
|
|
|
- version: v8.0.0 |
|
|
|
pr-url: https://github.com/nodejs/node/pull/12142 |
|
|
|
description: Set and Map content is also compared |
|
|
|
- version: v6.4.0, v4.7.1 |
|
|
|
pr-url: https://github.com/nodejs/node/pull/8002 |
|
|
|
description: Typed array slices are handled correctly now. |
|
|
|
- version: v6.1.0 |
|
|
|
pr-url: https://github.com/nodejs/node/pull/6432 |
|
|
|
description: Objects with circular references can be used as inputs now. |
|
|
|
- version: v5.10.1, v4.4.3 |
|
|
|
pr-url: https://github.com/nodejs/node/pull/5910 |
|
|
|
description: Handle non-`Uint8Array` typed arrays correctly. |
|
|
|
--> |
|
|
|
* `actual` {any} |
|
|
|
* `expected` {any} |
|
|
|