diff options
author | James M Snell <jasnell@gmail.com> | 2018-08-15 17:14:22 -0700 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2018-08-19 12:46:10 -0700 |
commit | 884b23daf723db60ebe939e6dde492fa5f9230eb (patch) | |
tree | feb159647324b4fd00024d72ea464cd4cbe161ab /test/parallel/test-tls-close-notify.js | |
parent | 7108893ec8fb3b3ee8538c82640fa61ac7014e38 (diff) | |
download | android-node-v8-884b23daf723db60ebe939e6dde492fa5f9230eb.tar.gz android-node-v8-884b23daf723db60ebe939e6dde492fa5f9230eb.tar.bz2 android-node-v8-884b23daf723db60ebe939e6dde492fa5f9230eb.zip |
stream: move process.binding('stream_wrap') to internalBinding
PR-URL: https://github.com/nodejs/node/pull/22345
Refs: https://github.com/nodejs/node/issues/22160
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'test/parallel/test-tls-close-notify.js')
-rw-r--r-- | test/parallel/test-tls-close-notify.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/parallel/test-tls-close-notify.js b/test/parallel/test-tls-close-notify.js index 75b35c5f3c..808727b127 100644 --- a/test/parallel/test-tls-close-notify.js +++ b/test/parallel/test-tls-close-notify.js @@ -19,15 +19,17 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. +// Flags: --expose-internals 'use strict'; const common = require('../common'); if (!common.hasCrypto) common.skip('missing crypto'); +const { internalBinding } = require('internal/test/binding'); const tls = require('tls'); const fixtures = require('../common/fixtures'); -const { ShutdownWrap } = process.binding('stream_wrap'); +const { ShutdownWrap } = internalBinding('stream_wrap'); const server = tls.createServer({ key: fixtures.readKey('agent1-key.pem'), |