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>
26 lines
843 B
Text
26 lines
843 B
Text
node:assert:*
|
|
throw newErr;
|
|
^
|
|
|
|
AssertionError [ERR_ASSERTION]: ifError got unwanted exception: test error
|
|
at z (*if-error-has-good-stack.js:*:*)
|
|
at y (*if-error-has-good-stack.js:*:*)
|
|
at x (*if-error-has-good-stack.js:*:*)
|
|
at Object.<anonymous> (*if-error-has-good-stack.js:*:*)
|
|
at c (*if-error-has-good-stack.js:*:*)
|
|
at b (*if-error-has-good-stack.js:*:*)
|
|
at a (*if-error-has-good-stack.js:*:*)
|
|
at Object.<anonymous> (*if-error-has-good-stack.js:*:*) {
|
|
generatedMessage: false,
|
|
code: 'ERR_ASSERTION',
|
|
actual: Error: test error
|
|
at c (*if-error-has-good-stack.js:*:*)
|
|
at b (*if-error-has-good-stack.js:*:*)
|
|
at a (*if-error-has-good-stack.js:*:*)
|
|
at Object.<anonymous> (*if-error-has-good-stack.js:*:*),
|
|
expected: null,
|
|
operator: 'ifError',
|
|
diff: 'simple'
|
|
}
|
|
|
|
Node.js *
|