summaryrefslogtreecommitdiff
path: root/test/addons/callback-scope
diff options
context:
space:
mode:
authorMichael Dawson <michael_dawson@ca.ibm.com>2017-10-13 12:59:04 -0400
committerJames M Snell <jasnell@gmail.com>2017-10-15 16:00:29 -0700
commit6bc82daef0550ca820c2c30b40670f3ee810e2c4 (patch)
tree371d211b2d3293b2072f2184d00b09582860eca9 /test/addons/callback-scope
parenta1c080410c6d1dbe72800ab755938d8edeeb8601 (diff)
downloadnode-new-6bc82daef0550ca820c2c30b40670f3ee810e2c4.tar.gz
n-api: use module name macro
Update tests to use module name macro PR-URL: https://github.com/nodejs/node/pull/16185 Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test/addons/callback-scope')
-rw-r--r--test/addons/callback-scope/binding.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/addons/callback-scope/binding.cc b/test/addons/callback-scope/binding.cc
index 22105360fb..f03d8a20d5 100644
--- a/test/addons/callback-scope/binding.cc
+++ b/test/addons/callback-scope/binding.cc
@@ -68,4 +68,4 @@ void Initialize(v8::Local<v8::Object> exports) {
} // namespace
-NODE_MODULE(binding, Initialize)
+NODE_MODULE(NODE_GYP_MODULE_NAME, Initialize)