diff options
author | cjihrig <cjihrig@gmail.com> | 2018-08-23 11:36:43 -0400 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2018-08-29 15:11:59 -0400 |
commit | 6a689c8aa3ef3bf517cc86807406b9a8958d4ffb (patch) | |
tree | 8d4d99bbffb185724d6976fe404118260e59f915 /test/sequential/test-async-wrap-getasyncid.js | |
parent | df073cdda4d9f3afb5ae7a5dd0bd153537b66181 (diff) | |
download | android-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.js | 4 |
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(); |