diff options
author | Gabriel Schulhof <gabriel.schulhof@intel.com> | 2019-08-30 23:54:36 -0700 |
---|---|---|
committer | Gabriel Schulhof <gabriel.schulhof@intel.com> | 2019-09-05 09:16:54 -0700 |
commit | 4e5bb250d8c256dd32af3b2a7fd99197a56c21d6 (patch) | |
tree | d8d7b4a549ef1dab94120d3eda7ce5d4d758886f /test/js-native-api | |
parent | af161f0efb1eb6690c64144cff2988d25186a46f (diff) | |
download | node-new-4e5bb250d8c256dd32af3b2a7fd99197a56c21d6.tar.gz |
n-api: mark version 5 N-APIs as stable
PR-URL: https://github.com/nodejs/node/pull/29401
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
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/js-native-api')
-rw-r--r-- | test/js-native-api/test_date/test_date.c | 2 | ||||
-rw-r--r-- | test/js-native-api/test_general/test.js | 2 | ||||
-rw-r--r-- | test/js-native-api/test_general/test_general.c | 1 |
3 files changed, 1 insertions, 4 deletions
diff --git a/test/js-native-api/test_date/test_date.c b/test/js-native-api/test_date/test_date.c index 13de450079..7ac5008cb9 100644 --- a/test/js-native-api/test_date/test_date.c +++ b/test/js-native-api/test_date/test_date.c @@ -1,5 +1,3 @@ -#define NAPI_EXPERIMENTAL - #include <js_native_api.h> #include "../common.h" diff --git a/test/js-native-api/test_general/test.js b/test/js-native-api/test_general/test.js index 44b672cdc1..09c0300f85 100644 --- a/test/js-native-api/test_general/test.js +++ b/test/js-native-api/test_general/test.js @@ -33,7 +33,7 @@ assert.notStrictEqual(test_general.testGetPrototype(baseObject), test_general.testGetPrototype(extendedObject)); // Test version management functions. The expected version is currently 4. -assert.strictEqual(test_general.testGetVersion(), 4); +assert.strictEqual(test_general.testGetVersion(), 5); [ 123, diff --git a/test/js-native-api/test_general/test_general.c b/test/js-native-api/test_general/test_general.c index 0e717e46ec..a7453e42f7 100644 --- a/test/js-native-api/test_general/test_general.c +++ b/test/js-native-api/test_general/test_general.c @@ -1,4 +1,3 @@ -#define NAPI_EXPERIMENTAL #include <js_native_api.h> #include <stdlib.h> #include "../common.h" |