node/test/addons-napi
Daniel Bevenius 56cd911cad
test: use NULL instead of 0 in common.h
This commit updates the macros in test/addons-napi/common.h to use NULL
instead of 0. This is very minor, but I had to look twice while going
through the code and finding what the macro was doing and comparing
with the struct definition. Using NULL makes it a little clearer I
think.

PR-URL: https://github.com/nodejs/node/pull/24104
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-11-14 00:55:43 +01:00
..
1_hello_world
2_function_arguments
3_callbacks
4_object_factory
5_function_factory
6_object_wrap
7_factory_wrap test: checks on napi factory wrap’s finalization 2018-09-12 22:40:40 -04:00
8_passing_wrapped test: checks on napi factory wrap’s finalization 2018-09-12 22:40:40 -04:00
test_array
test_async test: remove unused argument in assertion 2018-08-07 10:52:04 -07:00
test_bigint test: fix build warnings in bigint N-API test 2018-07-16 20:53:05 +02:00
test_buffer
test_callback_scope
test_cleanup_hook
test_constructor
test_conversions test: fix assert.strictEqual argument order 2018-10-17 11:28:39 -07:00
test_dataview
test_env_sharing
test_error
test_exception
test_fatal
test_fatal_exception
test_function n-api: create functions directly 2018-07-09 11:44:37 -04:00
test_general test: fix ordering of assertion values 2018-10-17 11:30:05 -07:00
test_handle_scope
test_make_callback test: fix order in assert.strictEqual to actual, expected 2018-11-14 00:55:38 +01:00
test_make_callback_recurse
test_new_target
test_null_init
test_number n-api: test uint32 truncation 2018-07-12 01:42:56 -04:00
test_object
test_promise test: make crashOnUnhandleRejection opt-out 2018-07-19 08:47:28 +02:00
test_properties
test_reference
test_string
test_symbol
test_threadsafe_function n-api: guard against cond null dereference 2018-07-23 22:07:23 -04:00
test_typedarray napi: add bigint support 2018-07-12 13:02:04 -05:00
test_uv_loop
.gitignore
common.h test: use NULL instead of 0 in common.h 2018-11-14 00:55:43 +01:00
testcfg.py