mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 07:27:22 +01:00
425aba4f36
AssertionError class is moved to interna/error in reference to the TODO in assert.js. This was suggested to get rid of the cyclic dependency between assert.js and internal/error.js PR-URL: https://github.com/nodejs/node/pull/12906 Reviewed-By: James M Snell <jasnell@gmail.com>
16 lines
497 B
Plaintext
16 lines
497 B
Plaintext
Exiting with code=1
|
|
assert.js:*
|
|
throw new errors.AssertionError({
|
|
^
|
|
|
|
AssertionError [ERR_ASSERTION]: 1 === 2
|
|
at Object.<anonymous> (*test*message*error_exit.js:*:*)
|
|
at Module._compile (module.js:*:*)
|
|
at Object.Module._extensions..js (module.js:*:*)
|
|
at Module.load (module.js:*:*)
|
|
at tryModuleLoad (module.js:*:*)
|
|
at Function.Module._load (module.js:*:*)
|
|
at Function.Module.runMain (module.js:*:*)
|
|
at startup (bootstrap_node.js:*:*)
|
|
at bootstrap_node.js:*:*
|