-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
Conversation
Currently when node is configured --without-intl the tests in this commit fail. This commit adds checks for internationalization for these tests
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. |
Not that I am aware of. However, WHATWG URL does work without ICU, just not the Punycode encoding or decoding part. |
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.
LGTM with a question.
@@ -1,5 +1,9 @@ | |||
'use strict'; | |||
require('../common'); | |||
const common = require('../common'); | |||
if (!(common.hasIntl && common.hasSmallICU)) { |
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.
Is common.hasSmallICU
a thing? I'm only finding process.binding('config').hasSmallICU
with a quick search.
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.
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.
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.
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.
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]>
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]>
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]>
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]>
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]>
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]>
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]>
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]>
should this be backported to v6.x? |
Currently when node is configured
--without-intl
the tests in thiscommit fail. This commit adds checks for internationalization for these
tests
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
test