summaryrefslogtreecommitdiff
path: root/test/parallel/test-internal-module-wrap.js
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2018-09-03 11:16:48 -0400
committercjihrig <cjihrig@gmail.com>2018-09-05 21:53:11 -0400
commit7e4b0a4850a5c7d9e14824db20f818db947305d3 (patch)
tree881b344d32d89908583355d71b54703d72f7c77e /test/parallel/test-internal-module-wrap.js
parent04195adaa953e339d71dff7ae59d5261a0294895 (diff)
downloadandroid-node-v8-7e4b0a4850a5c7d9e14824db20f818db947305d3.tar.gz
android-node-v8-7e4b0a4850a5c7d9e14824db20f818db947305d3.tar.bz2
android-node-v8-7e4b0a4850a5c7d9e14824db20f818db947305d3.zip
util: make util binding internal
Refs: https://github.com/nodejs/node/issues/22160 PR-URL: https://github.com/nodejs/node/pull/22675 Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@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 a1461e34b0..ee0b722d45 100644
--- a/test/parallel/test-internal-module-wrap.js
+++ b/test/parallel/test-internal-module-wrap.js
@@ -7,7 +7,7 @@ const assert = require('assert');
const { internalBinding } = require('internal/test/binding');
const { ModuleWrap } = internalBinding('module_wrap');
-const { getPromiseDetails, isPromise } = process.binding('util');
+const { getPromiseDetails, isPromise } = internalBinding('util');
const setTimeoutAsync = require('util').promisify(setTimeout);
const foo = new ModuleWrap('export * from "bar"; 6;', 'foo');