Update likely subtags tests for CLDR 44

This commit is contained in:
André Bargull 2023-10-16 13:28:25 +02:00 committed by Ms2ger
parent 4d44acbc03
commit 873f260478
2 changed files with 6 additions and 5 deletions

View File

@ -35,12 +35,13 @@ const testDataMaximal = {
"und": "en-Latn-US", "und": "en-Latn-US",
"und-Thai": "th-Thai-TH", "und-Thai": "th-Thai-TH",
"und-419": "es-Latn-419", "und-419": "es-Latn-419",
"und-150": "ru-Cyrl-RU", "und-150": "en-Latn-150",
"und-AT": "de-Latn-AT", "und-AT": "de-Latn-AT",
"und-Cyrl-RO": "bg-Cyrl-RO", "und-Cyrl-RO": "bg-Cyrl-RO",
// Undefined primary language not required to change in all cases. // Before CLDR 44, "und" primary language subtag was left unchanged in some
"und-AQ": "und-Latn-AQ", // cases. Starting with CLDR 44, the "und" language subtag is always replaced.
"und-AQ": "en-Latn-AQ",
}; };
const testDataMinimal = { const testDataMinimal = {
@ -67,7 +68,7 @@ const testDataMinimal = {
"ru-Cyrl-RU": "ru", "ru-Cyrl-RU": "ru",
"de-Latn-AT": "de-AT", "de-Latn-AT": "de-AT",
"bg-Cyrl-RO": "bg-RO", "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 // Add variants, extensions, and privateuse subtags and ensure they don't

View File

@ -23,7 +23,7 @@ var testDataMinimal = {
"und": "en", "und": "en",
"und-Thai": "th", "und-Thai": "th",
"und-419": "es-419", "und-419": "es-419",
"und-150": "ru", "und-150": "en-150",
"und-AT": "de-AT", "und-AT": "de-AT",
// https://unicode-org.atlassian.net/browse/ICU-13786 // https://unicode-org.atlassian.net/browse/ICU-13786