mirror of https://github.com/tc39/test262.git
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…
Reference in New Issue