mirror of
https://github.com/tc39/test262.git
synced 2025-07-16 10:34:44 +02:00
Remove getCanonicalLocales
This commit is contained in:
parent
8f713575e9
commit
b30d3013dc
@ -83,8 +83,6 @@ const regularGrandfathered = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
for (const {tag, canonical, maximized = canonical, minimized = canonical} of regularGrandfathered) {
|
for (const {tag, canonical, maximized = canonical, minimized = canonical} of regularGrandfathered) {
|
||||||
assert.sameValue(Intl.getCanonicalLocales(tag)[0], canonical);
|
|
||||||
|
|
||||||
const loc = new Intl.Locale(tag);
|
const loc = new Intl.Locale(tag);
|
||||||
assert.sameValue(loc.toString(), canonical);
|
assert.sameValue(loc.toString(), canonical);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user