summaryrefslogtreecommitdiff
path: root/test/common
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2018-09-18 12:56:35 -0700
committerRich Trott <rtrott@gmail.com>2018-09-20 13:02:18 -0700
commit3cb663a587147f68b5716c1641c408c6276be703 (patch)
tree6e757929dfeff1110241f31d2f5c741f79c13cfd /test/common
parentb7c1038d35cd401e95b2e9520ddc0b6d28aeff89 (diff)
downloadandroid-node-v8-3cb663a587147f68b5716c1641c408c6276be703.tar.gz
android-node-v8-3cb663a587147f68b5716c1641c408c6276be703.tar.bz2
android-node-v8-3cb663a587147f68b5716c1641c408c6276be703.zip
test: remove common.hasSmallICU
common.hasSmallICU is used in only one test and is a one-liner. Move into the test where it is used to chip away at the `common` monolith. PR-URL: https://github.com/nodejs/node/pull/22937 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'test/common')
-rw-r--r--test/common/README.md5
-rw-r--r--test/common/index.js4
2 files changed, 1 insertions, 8 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
-* [&lt;boolean>]
-
-Indicates `hasIntl` and `small-icu` are supported.
-
### hasIPv6
* [&lt;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,