summaryrefslogtreecommitdiff
path: root/test/pseudo-tty/test-tty-wrap.js
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2018-08-23 10:20:12 -0400
committercjihrig <cjihrig@gmail.com>2018-08-29 12:28:51 -0400
commitdf073cdda4d9f3afb5ae7a5dd0bd153537b66181 (patch)
tree81e9886842ec2cd1aab4218d01c1d43c393864a6 /test/pseudo-tty/test-tty-wrap.js
parent1abbe0a2123e8333922894258389c2d5c1568472 (diff)
downloadandroid-node-v8-df073cdda4d9f3afb5ae7a5dd0bd153537b66181.tar.gz
android-node-v8-df073cdda4d9f3afb5ae7a5dd0bd153537b66181.tar.bz2
android-node-v8-df073cdda4d9f3afb5ae7a5dd0bd153537b66181.zip
tty: make process.binding('tty_wrap') internal
PR-URL: https://github.com/nodejs/node/pull/22477 Refs: https://github.com/nodejs/node/issues/22160 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'test/pseudo-tty/test-tty-wrap.js')
-rw-r--r--test/pseudo-tty/test-tty-wrap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pseudo-tty/test-tty-wrap.js b/test/pseudo-tty/test-tty-wrap.js
index cb961d0403..917f04869a 100644
--- a/test/pseudo-tty/test-tty-wrap.js
+++ b/test/pseudo-tty/test-tty-wrap.js
@@ -3,7 +3,7 @@
require('../common');
const { internalBinding } = require('internal/test/binding');
-const { TTY } = process.binding('tty_wrap');
+const { TTY } = internalBinding('tty_wrap');
const { WriteWrap } = internalBinding('stream_wrap');
const handle = new TTY(1);