Skip to content
Snippets Groups Projects
Commit b30d3013 authored by Frank Yung-Fong Tang's avatar Frank Yung-Fong Tang Committed by Rick Waldron
Browse files

Remove getCanonicalLocales

parent 8f713575
Branches
No related tags found
No related merge requests found
...@@ -83,8 +83,6 @@ const regularGrandfathered = [ ...@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment