Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update likely subtags tests for CLDR 44 #3946

Merged
merged 1 commit into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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