mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 22:15:24 +02:00
rm deprecated grandfather 'cel-gaulish'
This commit is contained in:
parent
49c184eb0f
commit
b94ef8cbdc
@ -25,13 +25,6 @@ info: |
|
|||||||
features: [Intl.Locale]
|
features: [Intl.Locale]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
// Regular grandfathered language tag.
|
|
||||||
var loc = new Intl.Locale("cel-gaulish");
|
|
||||||
assert.sameValue(loc.baseName, "cel-gaulish"); // Step 5.
|
|
||||||
assert.sameValue(loc.language, "cel-gaulish");
|
|
||||||
assert.sameValue(loc.script, undefined);
|
|
||||||
assert.sameValue(loc.region, undefined);
|
|
||||||
|
|
||||||
// Regular grandfathered language tag.
|
// Regular grandfathered language tag.
|
||||||
assert.throws(RangeError, () => new Intl.Locale("zh-min"));
|
assert.throws(RangeError, () => new Intl.Locale("zh-min"));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user