summaryrefslogtreecommitdiff
path: root/test/parallel/test-internal-module-wrap.js
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2018-04-04 22:11:11 +0200
committerMichaël Zasso <targos@protonmail.com>2018-04-07 15:10:27 +0200
commit77b52fd58f7398a81999c81afd21fe2e156c0766 (patch)
tree8b8998b9dfbd89661e82aa044464c32cb56b07cc /test/parallel/test-internal-module-wrap.js
parent0ac6ced2e9e09fdfe4b5c9aec8fb9a3f570f63e7 (diff)
downloadandroid-node-v8-77b52fd58f7398a81999c81afd21fe2e156c0766.tar.gz
android-node-v8-77b52fd58f7398a81999c81afd21fe2e156c0766.tar.bz2
android-node-v8-77b52fd58f7398a81999c81afd21fe2e156c0766.zip
module: move options checks from C++ to JS
PR-URL: https://github.com/nodejs/node/pull/19822 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/parallel/test-internal-module-wrap.js')
-rw-r--r--test/parallel/test-internal-module-wrap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-internal-module-wrap.js b/test/parallel/test-internal-module-wrap.js
index 66a17a0f34..bb4a648ef7 100644
--- a/test/parallel/test-internal-module-wrap.js
+++ b/test/parallel/test-internal-module-wrap.js
@@ -24,6 +24,6 @@ const bar = new ModuleWrap('export const five = 5', 'bar');
foo.instantiate();
- assert.strictEqual(await foo.evaluate(), 6);
+ assert.strictEqual(await foo.evaluate(-1, false), 6);
assert.strictEqual(foo.namespace().five, 5);
})();