| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1c4bf9e commit 6e0888a
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -16,6 +16,16 @@ function haveLocale(loc) { | |||
| 16 | 16 | return locs.indexOf(loc) !== -1; | |
| 17 | 17 | } | |
| 18 | 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 | + | ||
| 19 | 29 | if (!common.hasIntl) { | |
| 20 | 30 | const erMsg = | |
| 21 | 31 | '"Intl" object is NOT present but v8_enable_i18n_support is ' + | |
| Back | FazBrowse Home | New Git URL |
0 commit comments