summaryrefslogtreecommitdiff
path: root/test/parallel/test-http2-util-update-options-buffer.js
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2018-08-14 16:01:54 -0700
committerJames M Snell <jasnell@gmail.com>2018-08-18 12:39:59 -0700
commit4fa5448e5dd8fc06f92f94b170918913aef5bbdb (patch)
treec082853f723963bd6d77e83a310b4e99b7304e22 /test/parallel/test-http2-util-update-options-buffer.js
parentc7788fba28b913bbab5eac929e8993742873b486 (diff)
downloadnode-new-4fa5448e5dd8fc06f92f94b170918913aef5bbdb.tar.gz
http2: move process.binding('http2') to internalBinding
Refs: https://github.com/nodejs/node/issues/22160 PR-URL: https://github.com/nodejs/node/pull/22328 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'test/parallel/test-http2-util-update-options-buffer.js')
-rw-r--r--test/parallel/test-http2-util-update-options-buffer.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/parallel/test-http2-util-update-options-buffer.js b/test/parallel/test-http2-util-update-options-buffer.js
index 6ab8bcff02..d9cfa07849 100644
--- a/test/parallel/test-http2-util-update-options-buffer.js
+++ b/test/parallel/test-http2-util-update-options-buffer.js
@@ -9,7 +9,8 @@ if (!common.hasCrypto)
// by the http2 implementation.
const { updateOptionsBuffer } = require('internal/http2/util');
-const { optionsBuffer } = process.binding('http2');
+const { internalBinding } = require('internal/test/binding');
+const { optionsBuffer } = internalBinding('http2');
const { ok, strictEqual } = require('assert');
const IDX_OPTIONS_MAX_DEFLATE_DYNAMIC_TABLE_SIZE = 0;