diff options
author | cjihrig <cjihrig@gmail.com> | 2018-08-23 10:20:12 -0400 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2018-08-29 12:28:51 -0400 |
commit | df073cdda4d9f3afb5ae7a5dd0bd153537b66181 (patch) | |
tree | 81e9886842ec2cd1aab4218d01c1d43c393864a6 /test/pseudo-tty/test-tty-window-size.js | |
parent | 1abbe0a2123e8333922894258389c2d5c1568472 (diff) | |
download | android-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-window-size.js')
-rw-r--r-- | test/pseudo-tty/test-tty-window-size.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/pseudo-tty/test-tty-window-size.js b/test/pseudo-tty/test-tty-window-size.js index 782b66802e..2a9891bd19 100644 --- a/test/pseudo-tty/test-tty-window-size.js +++ b/test/pseudo-tty/test-tty-window-size.js @@ -1,8 +1,10 @@ +// Flags: --expose-internals --no-warnings 'use strict'; const common = require('../common'); const assert = require('assert'); const { WriteStream } = require('tty'); -const { TTY } = process.binding('tty_wrap'); +const { internalBinding } = require('internal/test/binding'); +const { TTY } = internalBinding('tty_wrap'); const getWindowSize = TTY.prototype.getWindowSize; function monkeyPatchGetWindowSize(fn) { |