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/parallel/test-net-connect-options-fd.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/parallel/test-net-connect-options-fd.js')
-rw-r--r-- | test/parallel/test-net-connect-options-fd.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/parallel/test-net-connect-options-fd.js b/test/parallel/test-net-connect-options-fd.js index 76a5e30755..468e230ec7 100644 --- a/test/parallel/test-net-connect-options-fd.js +++ b/test/parallel/test-net-connect-options-fd.js @@ -1,3 +1,4 @@ +// Flags: --expose-internals 'use strict'; const common = require('../common'); if (common.isWindows) @@ -6,7 +7,8 @@ if (common.isWindows) const assert = require('assert'); const net = require('net'); const path = require('path'); -const { Pipe, constants: PipeConstants } = process.binding('pipe_wrap'); +const { internalBinding } = require('internal/test/binding'); +const { Pipe, constants: PipeConstants } = internalBinding('pipe_wrap'); const tmpdir = require('../common/tmpdir'); tmpdir.refresh(); |