Skip to content
This repository has been archived by the owner on Aug 31, 2018. It is now read-only.

Commit

Permalink
n-api,test: use module name macro
Browse files Browse the repository at this point in the history
test_constructor_name.c should use NODE_GYP_MODULE_NAME.

PR-URL: nodejs/node#16146
Reviewed-By: Franziska Hinkelmann <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Evan Lucas <[email protected]>
  • Loading branch information
Gabriel Schulhof authored and addaleax committed Oct 15, 2017
1 parent 39f3b5e commit 0eeab56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/addons-napi/test_constructor/test_constructor_name.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ napi_value Init(napi_env env, napi_value exports) {
return cons;
}

NAPI_MODULE(addon, Init)
NAPI_MODULE(NODE_GYP_MODULE_NAME, Init)

0 comments on commit 0eeab56

Please sign in to comment.