summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/common/README.md5
-rw-r--r--test/common/index.js4
-rw-r--r--test/parallel/test-icu-data-dir.js4
3 files changed, 4 insertions, 9 deletions
diff --git a/test/common/README.md b/test/common/README.md
index 0b3a7e9201..0868754782 100644
--- a/test/common/README.md
+++ b/test/common/README.md
@@ -158,11 +158,6 @@ Indicates `hasCrypto` and `crypto` with fips.
Indicates if [internationalization] is supported.
-### hasSmallICU
-* [<boolean>]
-
-Indicates `hasIntl` and `small-icu` are supported.
-
### hasIPv6
* [<boolean>]
diff --git a/test/common/index.js b/test/common/index.js
index f0f849e6af..3741211bd3 100644
--- a/test/common/index.js
+++ b/test/common/index.js
@@ -32,8 +32,7 @@ const { fixturesDir } = require('./fixtures');
const tmpdir = require('./tmpdir');
const {
bits,
- hasIntl,
- hasSmallICU
+ hasIntl
} = process.binding('config');
const noop = () => {};
@@ -715,7 +714,6 @@ module.exports = {
hasIntl,
hasCrypto,
hasIPv6,
- hasSmallICU,
hasMultiLocalhost,
isAIX,
isAlive,
diff --git a/test/parallel/test-icu-data-dir.js b/test/parallel/test-icu-data-dir.js
index 800e20c48b..47c955bc74 100644
--- a/test/parallel/test-icu-data-dir.js
+++ b/test/parallel/test-icu-data-dir.js
@@ -1,7 +1,9 @@
'use strict';
const common = require('../common');
const os = require('os');
-if (!(common.hasIntl && common.hasSmallICU))
+
+const { hasSmallICU } = process.binding('config');
+if (!(common.hasIntl && hasSmallICU))
common.skip('missing Intl');
const assert = require('assert');