mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
LibUnicode: Resolve the most likely territory alias when there are many
This commit is contained in:
parent
1fbc5dba08
commit
fd0011989a
Notes:
sideshowbarker
2024-07-18 04:57:04 +09:00
Author: https://github.com/trflynn89
Commit: fd0011989a
Pull-request: https://github.com/SerenityOS/serenity/pull/9705
Reviewed-by: https://github.com/linusg ✅
2 changed files with 10 additions and 7 deletions
|
@ -394,6 +394,14 @@ TEST_CASE(canonicalize_unicode_locale_id)
|
|||
test("EN-SU"sv, "en-RU"sv);
|
||||
test("en-810"sv, "en-RU"sv);
|
||||
test("EN-810"sv, "en-RU"sv);
|
||||
test("hy-su"sv, "hy-AM"sv);
|
||||
test("HY-SU"sv, "hy-AM"sv);
|
||||
test("hy-810"sv, "hy-AM"sv);
|
||||
test("HY-810"sv, "hy-AM"sv);
|
||||
test("und-Armn-su"sv, "und-Armn-AM"sv);
|
||||
test("UND-ARMN-SU"sv, "und-Armn-AM"sv);
|
||||
test("und-Armn-810"sv, "und-Armn-AM"sv);
|
||||
test("UND-ARMN-810"sv, "und-Armn-AM"sv);
|
||||
|
||||
// Script subtag aliases.
|
||||
test("en-qaai"sv, "en-Zinh"sv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue