0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
nodejs/test/addons/new-target
Ben Noordhuis 9e9c83ea95
test: check that this != new.target in addon
Add two checks that are there for expository reasons as much as they are
sanity checks.

PR-URL: https://github.com/nodejs/node/pull/15681
Refs: https://github.com/nodejs/node-addon-api/issues/142
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
2017-10-02 01:20:27 -03:00
..
binding.cc test: check that this != new.target in addon 2017-10-02 01:20:27 -03:00
binding.gyp
test.js