diff options
author | Timothy Flynn <trflynn89@pm.me> | 2021-08-30 18:04:15 -0400 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-09-01 14:14:47 +0100 |
commit | 409f39b3362a1d84345624791dbee77cdc65428c (patch) | |
tree | 25a8e4b1bc4144b3aed1ef9bf49c94c34d597c63 /Tests | |
parent | f907a7dc386e7cee729b8d96b6287dd0f1af1b72 (diff) | |
download | serenity-409f39b3362a1d84345624791dbee77cdc65428c.zip |
LibUnicode: Canonicalize the subtag "names" to "prprname"
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/LibUnicode/TestUnicodeLocale.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/LibUnicode/TestUnicodeLocale.cpp b/Tests/LibUnicode/TestUnicodeLocale.cpp index 5a7857d6bb..7feeab0771 100644 --- a/Tests/LibUnicode/TestUnicodeLocale.cpp +++ b/Tests/LibUnicode/TestUnicodeLocale.cpp @@ -306,6 +306,8 @@ TEST_CASE(canonicalize_unicode_locale_id) test("EN-U-KB-YES"sv, "en-u-kb"sv); test("en-u-ka-yes"sv, "en-u-ka-yes"sv); test("EN-U-KA-YES"sv, "en-u-ka-yes"sv); + test("en-u-1k-names"sv, "en-u-1k-names"sv); + test("EN-U-1K-NAMES"sv, "en-u-1k-names"sv); test("en-t-en"sv, "en-t-en"sv); test("EN-T-EN"sv, "en-t-en"sv); @@ -321,6 +323,10 @@ TEST_CASE(canonicalize_unicode_locale_id) test("EN-T-K1-TRUE"sv, "en-t-k1-true"sv); test("en-t-k1-yes"sv, "en-t-k1-yes"sv); test("EN-T-K1-YES"sv, "en-t-k1-yes"sv); + test("en-t-m0-names"sv, "en-t-m0-prprname"sv); + test("EN-T-M0-NAMES"sv, "en-t-m0-prprname"sv); + test("en-t-k1-names"sv, "en-t-k1-names"sv); + test("EN-T-K1-NAMES"sv, "en-t-k1-names"sv); test("en-0-aaa"sv, "en-0-aaa"sv); test("EN-0-AAA"sv, "en-0-aaa"sv); |