-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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 <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
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 <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
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