node/test/fixtures/errors
Ruben Bridgewater d3f79aa65d
assert: allow printf-style messages as assertion error
Also add functions as allowed message input.
This allows to have leavy message computation to become cheaper.

PR-URL: https://github.com/nodejs/node/pull/58849
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
2025-10-17 20:15:17 +00:00
..
async_error_eval_cjs.js
async_error_eval_cjs.snapshot
async_error_eval_esm.js
async_error_eval_esm.snapshot
async_error_microtask_main.js
async_error_microtask_main.snapshot
async_error_nexttick_main.js
async_error_nexttick_main.snapshot lib: remove redundant destroyHook checks 2025-10-08 12:11:43 +00:00
async_error_sync_esm.mjs
async_error_sync_esm.snapshot
async_error_sync_main.js
async_error_sync_main.snapshot
core_line_numbers.js
core_line_numbers.snapshot punycode: limit deprecation warning 2025-01-18 18:01:54 +00:00
error_aggregateTwoErrors.js
error_aggregateTwoErrors.snapshot
error_exit.js
error_exit.snapshot assert: allow printf-style messages as assertion error 2025-10-17 20:15:17 +00:00
error_with_nul.js
error_with_nul.snapshot
events_unhandled_error_common_trace.js
events_unhandled_error_common_trace.snapshot
events_unhandled_error_nexttick.js
events_unhandled_error_nexttick.snapshot
events_unhandled_error_sameline.js
events_unhandled_error_sameline.snapshot
events_unhandled_error_subclass.js
events_unhandled_error_subclass.snapshot
force_colors.js tools: enable linter in test/fixtures/errors 2025-04-04 15:41:48 +02:00
force_colors.snapshot tools: enable linter in test/fixtures/errors 2025-04-04 15:41:48 +02:00
if-error-has-good-stack.js
if-error-has-good-stack.snapshot lib: restructure assert to become a class 2025-08-05 14:15:02 +00:00
promise_always_throw_unhandled.js
promise_always_throw_unhandled.snapshot
promise_unhandled_warn_with_error.js
promise_unhandled_warn_with_error.snapshot test: make snapshot comparison more flexible 2024-08-16 14:29:22 +00:00
test-no-extra-info-on-fatal-exception.js
test-no-extra-info-on-fatal-exception.snapshot
throw_custom_error.js
throw_custom_error.snapshot
throw_error_with_getter_throw.js
throw_error_with_getter_throw.snapshot test: make snapshot comparison more flexible 2024-08-16 14:29:22 +00:00
throw_in_eval_anonymous.js tools: enable linter in test/fixtures/errors 2025-04-04 15:41:48 +02:00
throw_in_eval_anonymous.snapshot src: fix undefined script name in error source 2025-01-09 14:06:31 +00:00
throw_in_eval_named.js tools: enable linter in test/fixtures/errors 2025-04-04 15:41:48 +02:00
throw_in_eval_named.snapshot src: fix undefined script name in error source 2025-01-09 14:06:31 +00:00
throw_in_line_with_tabs.js tools: enable linter in test/fixtures/errors 2025-04-04 15:41:48 +02:00
throw_in_line_with_tabs.snapshot
throw_non_error.js
throw_non_error.snapshot
throw_null.js
throw_null.snapshot test: make snapshot comparison more flexible 2024-08-16 14:29:22 +00:00
throw_undefined.js
throw_undefined.snapshot test: make snapshot comparison more flexible 2024-08-16 14:29:22 +00:00
timeout_throw.js
timeout_throw.snapshot
undefined_reference_in_new_context.js
undefined_reference_in_new_context.snapshot
unhandled_promise_trace_warnings.js
unhandled_promise_trace_warnings.snapshot lib: add diagnostics_channel events to module loading 2024-06-20 21:25:04 -03:00