mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 07:27:22 +01:00
4f2e372716
Export a new common.noop no-operation function for general use. Allow using common.mustCall() without a fn argument to simplify test cases. Replace various non-op functions throughout tests with common.noop PR-URL: https://github.com/nodejs/node/pull/12027 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Teddy Katz <teddy.katz@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> |
||
---|---|---|
.. | ||
2100bytes.js | ||
2100bytes.out | ||
console_low_stack_space.js | ||
console_low_stack_space.out | ||
core_line_numbers.js | ||
core_line_numbers.out | ||
error_exit.js | ||
error_exit.out | ||
eval_messages.js | ||
eval_messages.out | ||
hello_world.js | ||
hello_world.out | ||
max_tick_depth.js | ||
max_tick_depth.out | ||
message.status | ||
nexttick_throw.js | ||
nexttick_throw.out | ||
stack_overflow.js | ||
stack_overflow.out | ||
stdin_messages.js | ||
stdin_messages.out | ||
testcfg.py | ||
throw_custom_error.js | ||
throw_custom_error.out | ||
throw_in_line_with_tabs.js | ||
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 | ||
undefined_reference_in_new_context.js | ||
undefined_reference_in_new_context.out | ||
unhandled_promise_trace_warnings.js | ||
unhandled_promise_trace_warnings.out | ||
vm_caught_custom_runtime_error.js | ||
vm_caught_custom_runtime_error.out | ||
vm_display_runtime_error.js | ||
vm_display_runtime_error.out | ||
vm_display_syntax_error.js | ||
vm_display_syntax_error.out | ||
vm_dont_display_runtime_error.js | ||
vm_dont_display_runtime_error.out | ||
vm_dont_display_syntax_error.js | ||
vm_dont_display_syntax_error.out |