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

split from likely-subtags-grandfathered.js

parent 47efdac8
No related branches found
No related tags found
No related merge requests found
// Copyright 2018 André Bargull; Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
// Split from intl402/Locale/likely-subtags-grandfathered.js
/*---
esid: sec-intl.getcanonicallocales
description: >
Verifies canonicalization of specific tags.
---*/
const regularGrandfathered = [
{
tag: "art-lojban",
canonical: "jbo",
},
{
tag: "zh-guoyu",
canonical: "cmn",
},
{
tag: "zh-hakka",
canonical: "hak",
},
{
tag: "zh-xiang",
canonical: "hsn",
},
];
for (const {tag, canonical} of regularGrandfathered) {
assert.sameValue(Intl.getCanonicalLocales(tag)[0], canonical);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment