diff options
author | Michaël Zasso <targos@protonmail.com> | 2020-11-24 14:11:20 +0100 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2020-12-07 20:33:45 +0100 |
commit | bf31d3c3b17ffe97828381dc7caf3f73d21805fd (patch) | |
tree | 8bac22a5f87d0a278b8ed62b489b2a3069af2b44 /test/js-native-api | |
parent | 0869b829fa6be2934c5a2e7fe8eaeb2e89490a8f (diff) | |
download | node-new-bf31d3c3b17ffe97828381dc7caf3f73d21805fd.tar.gz |
tools: enable no-unused-expressions lint rule
Fixes: https://github.com/nodejs/node/issues/36246
PR-URL: https://github.com/nodejs/node/pull/36248
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/js-native-api')
-rw-r--r-- | test/js-native-api/test_general/testEnvCleanup.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/js-native-api/test_general/testEnvCleanup.js b/test/js-native-api/test_general/testEnvCleanup.js index 8d567bef45..99b47a3e62 100644 --- a/test/js-native-api/test_general/testEnvCleanup.js +++ b/test/js-native-api/test_general/testEnvCleanup.js @@ -30,7 +30,7 @@ if (process.argv[2] === 'child') { // Make sure that only the latest attached version of a re-wrapped item's // finalizer gets called at env cleanup. module.exports['first wrap'] = - test_general.envCleanupWrap({}, finalizerMessages['first wrap']), + test_general.envCleanupWrap({}, finalizerMessages['first wrap']); test_general.removeWrap(module.exports['first wrap']); test_general.envCleanupWrap(module.exports['first wrap'], finalizerMessages['second wrap']); |