-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: remove common.hasSmallICU #22937
Conversation
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.
@@ -1,7 +1,9 @@ | |||
'use strict'; | |||
const common = require('../common'); | |||
const os = require('os'); | |||
if (!(common.hasIntl && common.hasSmallICU)) | |||
|
|||
const { hasSmallICU } = process.binding('config'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bonus points: process.config.variables.icu_small
Resume build: https://ci.nodejs.org/job/node-test-pull-request/17306/ |
Windows rebuild: https://ci.nodejs.org/job/node-test-commit-windows-fanned/20841/ |
Windows rebuild: https://ci.nodejs.org/job/node-test-commit-windows-fanned/20843/ ✔️ |
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: nodejs#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>
Landed in 3cb663a |
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: #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>
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.Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes