0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/message
Ruben Bridgewater bfe54df812 assert: improve default error messages
This improves the error messages for:
- assert.notDeepStrictEqual
- assert.deepStrictEqual
- assert.notStrictEqual
- assert.strictEqual

Those will now always use the same error message as used in the
strict mode.

PR-URL: https://github.com/nodejs/node/pull/19467
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-04-14 10:43:43 -07:00
..
2100bytes.js
2100bytes.out
assert_throws_stack.js assert: fix throws trace 2018-02-09 08:45:51 -05:00
assert_throws_stack.out assert: improve default error messages 2018-04-14 10:43:43 -07:00
console_low_stack_space.js lib: make console writable and non-enumerable 2018-01-18 18:12:16 +01:00
console_low_stack_space.out
core_line_numbers.js
core_line_numbers.out lib: restructure cjs and esm loaders 2018-03-15 20:50:35 +08:00
error_exit.js test: improve to use template string 2018-01-17 08:50:02 +08:00
error_exit.out assert: improve default error messages 2018-04-14 10:43:43 -07:00
esm_display_syntax_error_import_module.mjs module: print better message on esm import error 2017-12-24 17:38:36 +01:00
esm_display_syntax_error_import_module.out lib: rename js source to lower snake_case 2018-03-28 08:09:16 +02:00
esm_display_syntax_error_import.mjs module: print better message on esm import error 2017-12-24 17:38:36 +01:00
esm_display_syntax_error_import.out lib: rename js source to lower snake_case 2018-03-28 08:09:16 +02:00
esm_display_syntax_error_module.mjs module: print better message on esm syntax error 2017-11-29 12:06:09 +01:00
esm_display_syntax_error_module.out lib: rename js source to lower snake_case 2018-03-28 08:09:16 +02:00
esm_display_syntax_error.mjs module: print better message on esm syntax error 2017-11-29 12:06:09 +01:00
esm_display_syntax_error.out lib: rename js source to lower snake_case 2018-03-28 08:09:16 +02:00
eval_messages.js
eval_messages.out lib: restructure cjs and esm loaders 2018-03-15 20:50:35 +08:00
events_unhandled_error_common_trace.js events: show throw stack trace for uncaught exception 2018-03-04 21:20:43 +00:00
events_unhandled_error_common_trace.out lib: restructure cjs and esm loaders 2018-03-15 20:50:35 +08:00
events_unhandled_error_nexttick.js events: show throw stack trace for uncaught exception 2018-03-04 21:20:43 +00:00
events_unhandled_error_nexttick.out lib: restructure cjs and esm loaders 2018-03-15 20:50:35 +08:00
events_unhandled_error_sameline.js events: show throw stack trace for uncaught exception 2018-03-04 21:20:43 +00:00
events_unhandled_error_sameline.out lib: restructure cjs and esm loaders 2018-03-15 20:50:35 +08:00
hello_world.js
hello_world.out
if-error-has-good-stack.js assert: wrap original error in ifError 2018-01-24 13:16:07 +01:00
if-error-has-good-stack.out lib: restructure cjs and esm loaders 2018-03-15 20:50:35 +08:00
max_tick_depth.js test: improve to use template string 2018-01-17 08:50:02 +08:00
max_tick_depth.out
message.status
nexttick_throw.js
nexttick_throw.out lib: restructure cjs and esm loaders 2018-03-15 20:50:35 +08:00
stack_overflow.js
stack_overflow.out
stdin_messages.js
stdin_messages.out lib: restructure cjs and esm loaders 2018-03-15 20:50:35 +08:00
testcfg.py module: print better message on esm syntax error 2017-11-29 12:06:09 +01:00
throw_custom_error.js
throw_custom_error.out
throw_in_line_with_tabs.js test: adjust indentation for stricter linting 2017-07-27 09:24:20 -07:00
throw_in_line_with_tabs.out
throw_non_error.js
throw_non_error.out
throw_null.js
throw_null.out
throw_undefined.js
throw_undefined.out
timeout_throw.js
timeout_throw.out timers: refactor timer list processing 2018-02-09 14:59:07 -05:00
undefined_reference_in_new_context.js
undefined_reference_in_new_context.out lib: restructure cjs and esm loaders 2018-03-15 20:50:35 +08:00
unhandled_promise_trace_warnings.js test: remove common.noop 2017-07-03 11:39:35 -07:00
unhandled_promise_trace_warnings.out test: fix promise message test after V8 update 2018-04-11 13:23:37 -04:00
vm_caught_custom_runtime_error.js
vm_caught_custom_runtime_error.out
vm_display_runtime_error.js lib,src: fix consistent spacing inside braces 2017-07-21 15:13:47 -04:00
vm_display_runtime_error.out lib: restructure cjs and esm loaders 2018-03-15 20:50:35 +08:00
vm_display_syntax_error.js
vm_display_syntax_error.out lib: restructure cjs and esm loaders 2018-03-15 20:50:35 +08:00
vm_dont_display_runtime_error.js
vm_dont_display_runtime_error.out lib: restructure cjs and esm loaders 2018-03-15 20:50:35 +08:00
vm_dont_display_syntax_error.js
vm_dont_display_syntax_error.out lib: restructure cjs and esm loaders 2018-03-15 20:50:35 +08:00