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

correct values matches type of languageAlias

parent ac45b6be
No related branches found
No related tags found
No related merge requests found
...@@ -38,15 +38,27 @@ var testData = [ ...@@ -38,15 +38,27 @@ var testData = [
}, },
{ {
tag: "aar-x-private", tag: "aar-x-private",
// "aar" should be canonicalized into "aa" because "aar" matches the type attribute of
// a languageAlias element in
// https://www.unicode.org/repos/cldr/trunk/common/supplemental/supplementalMetadata.xml
canonical: "aa-x-private",
}, },
{ {
tag: "heb-x-private", tag: "heb-x-private",
// "heb" should be canonicalized into "he" because "heb" matches the type attribute of
// a languageAlias element in
// https://www.unicode.org/repos/cldr/trunk/common/supplemental/supplementalMetadata.xml
canonical: "he-x-private",
}, },
{ {
tag: "de-u-kf", tag: "de-u-kf",
}, },
{ {
tag: "ces", tag: "ces",
// "ces" should be canonicalized into "cs" because "ces" matches the type attribute of
// a languageAlias element in
// https://www.unicode.org/repos/cldr/trunk/common/supplemental/supplementalMetadata.xml
canonical: "cs",
}, },
{ {
tag: "hy-arevela", tag: "hy-arevela",
......
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