summaryrefslogtreecommitdiff
path: root/test/parallel/test-intl-no-icu-data.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-intl-no-icu-data.js')
-rw-r--r--test/parallel/test-intl-no-icu-data.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/parallel/test-intl-no-icu-data.js b/test/parallel/test-intl-no-icu-data.js
new file mode 100644
index 0000000000..dd14c14671
--- /dev/null
+++ b/test/parallel/test-intl-no-icu-data.js
@@ -0,0 +1,7 @@
+// Flags: --icu-data-dir=test/fixtures/empty/
+'use strict';
+require('../common');
+const assert = require('assert');
+
+// No-op when ICU case mappings are unavailable.
+assert.strictEqual('ç'.toLocaleUpperCase('el'), 'ç');