summaryrefslogtreecommitdiff
path: root/test/parallel/test-icu-punycode.js
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2018-10-02 22:30:07 -0400
committercjihrig <cjihrig@gmail.com>2018-10-08 23:42:52 -0400
commit2498c7b18b6e82fec15c7672bf774e5f94a08b52 (patch)
treea00ad74d42bcd449683de90c1538e1fde86ebea9 /test/parallel/test-icu-punycode.js
parent9930529805719b6df24a254889a1ae52e319d1e2 (diff)
downloadandroid-node-v8-2498c7b18b6e82fec15c7672bf774e5f94a08b52.tar.gz
android-node-v8-2498c7b18b6e82fec15c7672bf774e5f94a08b52.tar.bz2
android-node-v8-2498c7b18b6e82fec15c7672bf774e5f94a08b52.zip
icu: make process.binding('icu') internal
PR-URL: https://github.com/nodejs/node/pull/23234 Refs: https://github.com/nodejs/node/issues/22160 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Gus Caplan <me@gus.host>
Diffstat (limited to 'test/parallel/test-icu-punycode.js')
-rw-r--r--test/parallel/test-icu-punycode.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/parallel/test-icu-punycode.js b/test/parallel/test-icu-punycode.js
index 82c1528798..3744891ee0 100644
--- a/test/parallel/test-icu-punycode.js
+++ b/test/parallel/test-icu-punycode.js
@@ -1,10 +1,12 @@
'use strict';
+// Flags: --expose-internals
const common = require('../common');
if (!common.hasIntl)
common.skip('missing Intl');
-const icu = process.binding('icu');
+const { internalBinding } = require('internal/test/binding');
+const icu = internalBinding('icu');
const assert = require('assert');
const tests = require('../fixtures/url-idna.js');