From ea31876c063f83db6f4d9314a66beb5c5c8c9265 Mon Sep 17 00:00:00 2001
From: Frank Yung-Fong Tang <41213225+FrankYFTang@users.noreply.github.com>
Date: Thu, 7 Feb 2019 17:55:35 -0800
Subject: [PATCH] correct values matches type of languageAlias

---
 .../Intl/getCanonicalLocales/non-iana-canon.js       | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/test/intl402/Intl/getCanonicalLocales/non-iana-canon.js b/test/intl402/Intl/getCanonicalLocales/non-iana-canon.js
index 26d5ae5241..87e1a549dc 100644
--- a/test/intl402/Intl/getCanonicalLocales/non-iana-canon.js
+++ b/test/intl402/Intl/getCanonicalLocales/non-iana-canon.js
@@ -38,15 +38,27 @@ var testData = [
     },
     {
         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",
+        // "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: "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",
-- 
GitLab