node/test/addons-napi/test_reference
Gabriel Schulhof 5c4f703607
n-api: update reference test
Remove the necessity for allocating on the heap, and assert that the
correct pointer gets passed to the finalizer.

PR-URL: https://github.com/nodejs/node/pull/19086
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
2018-03-05 10:07:17 +00:00
..
binding.gyp
test.js test: replace string concat with template literal 2017-07-16 06:33:09 -07:00
test_reference.c n-api: update reference test 2018-03-05 10:07:17 +00:00