We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c4bf9e commit 6e0888aCopy full SHA for 6e0888a
test/parallel/test-intl.js
@@ -16,6 +16,16 @@ function haveLocale(loc) {
16
return locs.indexOf(loc) !== -1;
17
}
18
19
+// Always run these. They should always pass, even if the locale
20
+// param is ignored.
21
+assert.strictEqual('Ç'.toLocaleLowerCase('el'), 'ç');
22
+assert.strictEqual('Ç'.toLocaleLowerCase('tr'), 'ç');
23
+assert.strictEqual('Ç'.toLowerCase(), 'ç');
24
+
25
+assert.strictEqual('ç'.toLocaleUpperCase('el'), 'Ç');
26
+assert.strictEqual('ç'.toLocaleUpperCase('tr'), 'Ç');
27
+assert.strictEqual('ç'.toUpperCase(), 'Ç');
28
29
if (!common.hasIntl) {
30
const erMsg =
31
'"Intl" object is NOT present but v8_enable_i18n_support is ' +
0 commit comments