diff options
author | Timothy Flynn <trflynn89@pm.me> | 2021-08-31 09:45:16 -0400 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-09-01 14:14:47 +0100 |
commit | fd0011989aee950de25079836bb19c015b8f1afb (patch) | |
tree | 11700d292d414d7a8ce4db3f5d66ef79c343bd74 /Tests | |
parent | 1fbc5dba08062e6d5702e49cf24fc869a7de304d (diff) | |
download | serenity-fd0011989aee950de25079836bb19c015b8f1afb.zip |
LibUnicode: Resolve the most likely territory alias when there are many
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/LibUnicode/TestUnicodeLocale.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/LibUnicode/TestUnicodeLocale.cpp b/Tests/LibUnicode/TestUnicodeLocale.cpp index e0ec45d7fb..fb79b32139 100644 --- a/Tests/LibUnicode/TestUnicodeLocale.cpp +++ b/Tests/LibUnicode/TestUnicodeLocale.cpp @@ -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); |