Skip to content

Commit

Permalink
n-api: fix comment on expected N-API version
Browse files Browse the repository at this point in the history
Remove the comment about the expected version so
that it does not get out of sync. The code shows
the expected version anyway.

Signed-off-by: Michael Dawson <michael_dawson@ca.ibm.com>

PR-URL: nodejs#32236
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
mhdawson authored and targos committed Apr 25, 2020
1 parent 7b11894 commit 554f205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/js-native-api/test_general/test.js
Expand Up @@ -32,7 +32,7 @@ assert.strictEqual(test_general.testGetPrototype(extendedObject),
assert.notStrictEqual(test_general.testGetPrototype(baseObject),
test_general.testGetPrototype(extendedObject));

// Test version management functions. The expected version is currently 4.
// Test version management functions
assert.strictEqual(test_general.testGetVersion(), 6);

[
Expand Down

0 comments on commit 554f205

Please sign in to comment.