mirror of
https://github.com/zebrajr/node.git
synced 2025-12-07 12:20:50 +01: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>
35 lines
675 B
Plaintext
35 lines
675 B
Plaintext
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 * {
|
|
generatedMessage: true,
|
|
code: 'ERR_ASSERTION',
|
|
actual: Error: foo
|
|
at assert.throws.bar (*assert_throws_stack.js:*)
|
|
at getActual (node:assert:*)
|
|
at Function.throws (node:assert:*)
|
|
at Object.<anonymous> (*assert_throws_stack.js:*:*)
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *,
|
|
expected: { bar: true },
|
|
operator: 'throws'
|
|
}
|