mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00

PR-URL: https://github.com/nodejs/node/pull/58253 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
40 lines
721 B
Text
40 lines
721 B
Text
node:assert:*
|
|
throw err;
|
|
^
|
|
|
|
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
|
|
+ actual - expected
|
|
|
|
+ Comparison {}
|
|
- Comparison {
|
|
- bar: true
|
|
- }
|
|
|
|
at Object.<anonymous> (*assert_throws_stack.js:*:*)
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at * {
|
|
generatedMessage: true,
|
|
code: 'ERR_ASSERTION',
|
|
actual: Error: foo
|
|
at assert.throws.bar (*assert_throws_stack.js:*)
|
|
at getActual (node:assert:*)
|
|
at strict.throws (node:assert:*)
|
|
at Object.<anonymous> (*assert_throws_stack.js:*:*)
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *,
|
|
expected: { bar: true },
|
|
operator: 'throws',
|
|
diff: 'simple'
|
|
}
|
|
|
|
Node.js *
|