mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
This change allows for easier recognition of builtin modules in stack traces. Refs: https://github.com/nodejs/node/issues/11893 PR-URL: https://github.com/nodejs/node/pull/35498 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Zeyu Yang <himself65@outlook.com>
23 lines
719 B
Plaintext
23 lines
719 B
Plaintext
Exiting with code=1
|
|
node:assert:*
|
|
throw new AssertionError(obj);
|
|
^
|
|
|
|
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
|
|
|
|
1 !== 2
|
|
|
|
at Object.<anonymous> (*test*message*error_exit.js:*:*)
|
|
at Module._compile (node:internal/modules/cjs/loader:*:*)
|
|
at Object.Module._extensions..js (node:internal/modules/cjs/loader:*:*)
|
|
at Module.load (node:internal/modules/cjs/loader:*:*)
|
|
at Function.Module._load (node:internal/modules/cjs/loader:*:*)
|
|
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:*:*)
|
|
at node:internal/main/run_main_module:*:* {
|
|
generatedMessage: true,
|
|
code: 'ERR_ASSERTION',
|
|
actual: 1,
|
|
expected: 2,
|
|
operator: 'strictEqual'
|
|
}
|