Skip to content
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: add hasIntl to failing test #13699

Closed
wants to merge 4 commits into from
Closed

Conversation

danbev
Copy link
Contributor

@danbev danbev commented Jun 15, 2017

Currently when node is configured --without-intl the tests in this
commit fail. This commit adds checks for internationalization for these
tests

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test

Currently when node is configured --without-intl the tests in this
commit fail. This commit adds checks for internationalization for these
tests
@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Jun 15, 2017
@danbev
Copy link
Contributor Author

danbev commented Jun 15, 2017

@refack
Copy link
Contributor

refack commented Jun 15, 2017

It is documented in anyway that WHATWG URL doesn't work without ICU?

@danbev
Copy link
Contributor Author

danbev commented Jun 15, 2017

It is documented in anyway that WHATWG URL doesn't work without ICU?

Sorry, I don't know if it is documented or not.

@refack
Copy link
Contributor

refack commented Jun 15, 2017

It is documented in anyway that WHATWG URL doesn't work without ICU?

Sorry, I don't know if it is documented or not.

I'll go dig.

@TimothyGu
Copy link
Member

@refack

It is documented in anyway that WHATWG URL doesn't work without ICU?

Not that I am aware of. However, WHATWG URL does work without ICU, just not the Punycode encoding or decoding part.

@mscdex mscdex added the i18n-api Issues and PRs related to the i18n implementation. label Jun 15, 2017
Copy link
Contributor

@cjihrig cjihrig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a question.

@@ -1,5 +1,9 @@
'use strict';
require('../common');
const common = require('../common');
if (!(common.hasIntl && common.hasSmallICU)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is common.hasSmallICU a thing? I'm only finding process.binding('config').hasSmallICU with a quick search.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! I was looking at an old commit and did not notice that that function does not exist or has been removed. Going to add it now. Thanks.

Trott
Trott previously requested changes Jun 15, 2017
Copy link
Member

@Trott Trott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're adding a property to common, can you also add documentation for it in test/common/README.md?

@danbev
Copy link
Contributor Author

danbev commented Jun 16, 2017

If we're adding a property to common, can you also add documentation for it in test/common/README.md?

Ah sorry, forgot about that. I'll add that.

Commit d7e4ae1
("test: add common.hasIntl") added common.hasIntl but I was not able to
find it in the README.md so this commit adds it.
@Trott Trott dismissed their stale review June 16, 2017 05:45

docs added, dismissing review

danbev added a commit to danbev/node that referenced this pull request Jun 18, 2017
Commit d7e4ae1
("test: add common.hasIntl") added common.hasIntl but I was not able to
find it in the README.md so this commit adds it.

PR-URL: nodejs#13699
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
danbev added a commit to danbev/node that referenced this pull request Jun 18, 2017
Currently when node is configured --without-intl the tests in this
commit fail. This commit adds checks for internationalization for these
tests

PR-URL: nodejs#13699
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@danbev
Copy link
Contributor Author

danbev commented Jun 18, 2017

Landed in a8979a6 and 282b1ed

@danbev danbev closed this Jun 18, 2017
addaleax pushed a commit that referenced this pull request Jun 18, 2017
Commit d7e4ae1
("test: add common.hasIntl") added common.hasIntl but I was not able to
find it in the README.md so this commit adds it.

PR-URL: #13699
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
addaleax pushed a commit that referenced this pull request Jun 18, 2017
Currently when node is configured --without-intl the tests in this
commit fail. This commit adds checks for internationalization for these
tests

PR-URL: #13699
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
addaleax pushed a commit that referenced this pull request Jun 20, 2017
Commit d7e4ae1
("test: add common.hasIntl") added common.hasIntl but I was not able to
find it in the README.md so this commit adds it.

PR-URL: #13699
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
addaleax pushed a commit that referenced this pull request Jun 20, 2017
Currently when node is configured --without-intl the tests in this
commit fail. This commit adds checks for internationalization for these
tests

PR-URL: #13699
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@addaleax addaleax mentioned this pull request Jun 21, 2017
addaleax pushed a commit that referenced this pull request Jun 21, 2017
Commit d7e4ae1
("test: add common.hasIntl") added common.hasIntl but I was not able to
find it in the README.md so this commit adds it.

PR-URL: #13699
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
addaleax pushed a commit that referenced this pull request Jun 21, 2017
Currently when node is configured --without-intl the tests in this
commit fail. This commit adds checks for internationalization for these
tests

PR-URL: #13699
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@addaleax addaleax mentioned this pull request Jun 21, 2017
@TimothyGu TimothyGu added url Issues and PRs related to the legacy built-in url module. whatwg-url Issues and PRs related to the WHATWG URL implementation. labels Jun 26, 2017
@danbev danbev deleted the intl-test-fixes branch June 28, 2017 05:34
@MylesBorins
Copy link
Contributor

should this be backported to v6.x?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n-api Issues and PRs related to the i18n implementation. test Issues and PRs related to the tests. url Issues and PRs related to the legacy built-in url module. whatwg-url Issues and PRs related to the WHATWG URL implementation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.