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: #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 MylesBorins committed Mar 24, 2020
1 parent 2e1fb2b commit 59a21e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/js-native-api/test_general/test.js
Original file line number Diff line number Diff line change
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 59a21e2

Please sign in to comment.