Skip to content

Commit

Permalink
Update likely subtags tests for CLDR 44
Browse files Browse the repository at this point in the history
  • Loading branch information
anba authored and Ms2ger committed Nov 8, 2023
1 parent 4d44acb commit 43f214f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions test/intl402/Locale/likely-subtags.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ const testDataMaximal = {
"und": "en-Latn-US",
"und-Thai": "th-Thai-TH",
"und-419": "es-Latn-419",
"und-150": "ru-Cyrl-RU",
"und-150": "en-Latn-150",
"und-AT": "de-Latn-AT",
"und-Cyrl-RO": "bg-Cyrl-RO",

// Undefined primary language not required to change in all cases.
"und-AQ": "und-Latn-AQ",
// Before CLDR 44, "und" primary language subtag was left unchanged in some
// cases. Starting with CLDR 44, the "und" language subtag is always replaced.
"und-AQ": "en-Latn-AQ",
};

const testDataMinimal = {
Expand All @@ -67,7 +68,7 @@ const testDataMinimal = {
"ru-Cyrl-RU": "ru",
"de-Latn-AT": "de-AT",
"bg-Cyrl-RO": "bg-RO",
"und-Latn-AQ": "und-AQ",
"und-Latn-AQ": "en-AQ",
};

// Add variants, extensions, and privateuse subtags and ensure they don't
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var testDataMinimal = {
"und": "en",
"und-Thai": "th",
"und-419": "es-419",
"und-150": "ru",
"und-150": "en-150",
"und-AT": "de-AT",

// https://unicode-org.atlassian.net/browse/ICU-13786
Expand Down

0 comments on commit 43f214f

Please sign in to comment.