diff options
author | Gabriel Schulhof <gabriel.schulhof@intel.com> | 2019-01-22 10:34:46 +0300 |
---|---|---|
committer | Beth Griggs <Bethany.Griggs@uk.ibm.com> | 2019-03-13 01:07:22 +0300 |
commit | 48a5241b4655bb99a733683bc2ea12ff436962bf (patch) | |
tree | 0fe570610f38eff924906170f7d8e2d9b3a3f87c /test/addons-napi | |
parent | f612a714fa5df59e3e766c70c2d07f51bff5e10f (diff) |
n-api: mark thread-safe function as stable
Fixes: https://github.com/nodejs/node/issues/24249
PR-URL: https://github.com/nodejs/node/pull/25556
Backport-PR-URL: https://github.com/nodejs/node/pull/25633
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Diffstat (limited to 'test/addons-napi')
-rw-r--r-- | test/addons-napi/test_general/test.js | 4 | ||||
-rw-r--r-- | test/addons-napi/test_threadsafe_function/binding.c | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/test/addons-napi/test_general/test.js b/test/addons-napi/test_general/test.js index fe38c1b9a28..04334e050fb 100644 --- a/test/addons-napi/test_general/test.js +++ b/test/addons-napi/test_general/test.js @@ -33,8 +33,8 @@ assert.notStrictEqual(test_general.testGetPrototype(baseObject), test_general.testGetPrototype(extendedObject)); // test version management functions -// expected version is currently 3 -assert.strictEqual(test_general.testGetVersion(), 3); +// expected version is currently 4 +assert.strictEqual(test_general.testGetVersion(), 4); const [ major, minor, patch, release ] = test_general.testGetNodeVersion(); assert.strictEqual(process.version.split('-')[0], diff --git a/test/addons-napi/test_threadsafe_function/binding.c b/test/addons-napi/test_threadsafe_function/binding.c index 354012a288b..d78710cac13 100644 --- a/test/addons-napi/test_threadsafe_function/binding.c +++ b/test/addons-napi/test_threadsafe_function/binding.c @@ -4,7 +4,6 @@ // which, in turn, may affect the ABI stability of the project despite its use // of N-API. #include <uv.h> -#define NAPI_EXPERIMENTAL #include <node_api.h> #include "../common.h" |