summaryrefslogtreecommitdiff
path: root/test/sequential/test-async-wrap-getasyncid.js
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2018-08-23 11:36:43 -0400
committercjihrig <cjihrig@gmail.com>2018-08-29 15:11:59 -0400
commit6a689c8aa3ef3bf517cc86807406b9a8958d4ffb (patch)
tree8d4d99bbffb185724d6976fe404118260e59f915 /test/sequential/test-async-wrap-getasyncid.js
parentdf073cdda4d9f3afb5ae7a5dd0bd153537b66181 (diff)
downloadandroid-node-v8-6a689c8aa3ef3bf517cc86807406b9a8958d4ffb.tar.gz
android-node-v8-6a689c8aa3ef3bf517cc86807406b9a8958d4ffb.tar.bz2
android-node-v8-6a689c8aa3ef3bf517cc86807406b9a8958d4ffb.zip
lib: make pipe_wrap binding internal
PR-URL: https://github.com/nodejs/node/pull/22482 Refs: https://github.com/nodejs/node/issues/22160 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/sequential/test-async-wrap-getasyncid.js')
-rw-r--r--test/sequential/test-async-wrap-getasyncid.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sequential/test-async-wrap-getasyncid.js b/test/sequential/test-async-wrap-getasyncid.js
index eb4b5aef25..6e17b65793 100644
--- a/test/sequential/test-async-wrap-getasyncid.js
+++ b/test/sequential/test-async-wrap-getasyncid.js
@@ -158,7 +158,7 @@ if (common.hasCrypto) { // eslint-disable-line node-core/crypto-check
}
{
- const binding = process.binding('pipe_wrap');
+ const binding = internalBinding('pipe_wrap');
const handle = new binding.Pipe(binding.constants.IPC);
testInitialized(handle, 'Pipe');
}
@@ -169,7 +169,7 @@ if (common.hasCrypto) { // eslint-disable-line node-core/crypto-check
const server = net.createServer(common.mustCall((socket) => {
server.close();
})).listen(common.PIPE, common.mustCall(() => {
- const binding = process.binding('pipe_wrap');
+ const binding = internalBinding('pipe_wrap');
const handle = new binding.Pipe(binding.constants.SOCKET);
testInitialized(handle, 'Pipe');
const req = new binding.PipeConnectWrap();