diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2017-06-15 14:51:05 +0200 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2017-06-18 11:01:51 +0200 |
commit | a8979a605434b0a07395c9764caafef362f3875e (patch) | |
tree | a65361c82a59353a6f13959f8f2681b1982ebe0e /test/parallel/test-icu-data-dir.js | |
parent | 282b1edbe753eaa3219e934dcc5a473a2e53e25f (diff) | |
download | android-node-v8-a8979a605434b0a07395c9764caafef362f3875e.tar.gz android-node-v8-a8979a605434b0a07395c9764caafef362f3875e.tar.bz2 android-node-v8-a8979a605434b0a07395c9764caafef362f3875e.zip |
test: add hasIntl to failing test
Currently when node is configured --without-intl the tests in this
commit fail. This commit adds checks for internationalization for these
tests
PR-URL: https://github.com/nodejs/node/pull/13699
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/parallel/test-icu-data-dir.js')
-rw-r--r-- | test/parallel/test-icu-data-dir.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/parallel/test-icu-data-dir.js b/test/parallel/test-icu-data-dir.js index 07a4391505..3882acb92c 100644 --- a/test/parallel/test-icu-data-dir.js +++ b/test/parallel/test-icu-data-dir.js @@ -1,5 +1,9 @@ 'use strict'; -require('../common'); +const common = require('../common'); +if (!(common.hasIntl && common.hasSmallICU)) { + common.skip('missing Intl'); + return; +} const assert = require('assert'); const { spawnSync } = require('child_process'); |