diff --git a/test/common/README.md b/test/common/README.md index 0b3a7e9201e4f6..08687547825b43 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 f0f849e6afbacf..3741211bd3d69c 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 800e20c48bab03..47c955bc740fb3 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');