Skip to content

Conversation

@Trott
Copy link
Member

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), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

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.
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Sep 18, 2018
@Trott
Copy link
MemberAuthor

@TrottTrott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Sep 18, 2018
constos=require('os');
if(!(common.hasIntl&&common.hasSmallICU))

const{ hasSmallICU }=process.binding('config');
Copy link
Contributor

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

@Trott
Copy link
MemberAuthor

@joaocgreis
Copy link
Member

@Trott
Copy link
MemberAuthor

Trott commented Sep 19, 2018

Trott added a commit to Trott/io.js that referenced this pull request Sep 20, 2018
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]>
@Trott
Copy link
MemberAuthor

Landed in 3cb663a

@TrottTrott closed this Sep 20, 2018
targos pushed a commit that referenced this pull request Sep 21, 2018
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]>
@targostargos mentioned this pull request Oct 7, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

11 participants

@Trott@nodejs-github-bot@joaocgreis@refack@thefourtheye@lpinca@targos@cjihrig@tniessen@richardlau@BridgeAR