diff options
author | Daijiro Wachi <daijiro.wachi@gmail.com> | 2017-01-16 22:34:04 +0100 |
---|---|---|
committer | Luigi Pinca <luigipinca@gmail.com> | 2017-01-19 09:12:22 +0100 |
commit | 71650aa8fc2bdd94bed7982ffb979004b5ef4fae (patch) | |
tree | c0011f14b462ec4e42639adefdd9411cbd80c87a /test/parallel/test-whatwg-url-setters.js | |
parent | c4b4611e58f6f1509fe73bc48165acc1311254fc (diff) | |
download | android-node-v8-71650aa8fc2bdd94bed7982ffb979004b5ef4fae.tar.gz android-node-v8-71650aa8fc2bdd94bed7982ffb979004b5ef4fae.tar.bz2 android-node-v8-71650aa8fc2bdd94bed7982ffb979004b5ef4fae.zip |
test: use common.hasIntl in tests related to ICU
We should use `common.hasIntl` in tests for test cases which are
related to ICU.
This way we can easily find the test cases that are Intl dependent.
Plus, it will be able to make the tests a little faster if we check
hasIntl first.
Also, this tweaks the log messages to unify the message.
Refs: https://github.com/nodejs/node/pull/10707
PR-URL: https://github.com/nodejs/node/pull/10841
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'test/parallel/test-whatwg-url-setters.js')
-rw-r--r-- | test/parallel/test-whatwg-url-setters.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-whatwg-url-setters.js b/test/parallel/test-whatwg-url-setters.js index e5f591b6cc..8cd9fc51d5 100644 --- a/test/parallel/test-whatwg-url-setters.js +++ b/test/parallel/test-whatwg-url-setters.js @@ -4,7 +4,7 @@ const common = require('../common'); if (!common.hasIntl) { // A handful of the tests fail when ICU is not included. - common.skip('missing Intl... skipping test'); + common.skip('missing Intl'); return; } |