1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-01 01:12:06 +00:00

LibUnicode: Update code point ideographic replacements for Unicode 15

This commit is contained in:
Timothy Flynn 2022-10-06 09:02:04 -04:00 committed by Linus Groh
parent 400cc41176
commit f38c68177b
2 changed files with 8 additions and 6 deletions

View file

@ -689,7 +689,8 @@ TEST_CASE(code_point_display_name)
EXPECT_EQ(code_point_display_name(0x20000), "CJK UNIFIED IDEOGRAPH-20000"sv);
EXPECT_EQ(code_point_display_name(0x20001), "CJK UNIFIED IDEOGRAPH-20001"sv);
EXPECT_EQ(code_point_display_name(0x20002), "CJK UNIFIED IDEOGRAPH-20002"sv);
EXPECT(!Unicode::code_point_display_name(0x2a6df).has_value());
EXPECT_EQ(code_point_display_name(0x2a6df), "CJK UNIFIED IDEOGRAPH-2A6DF"sv);
EXPECT(!Unicode::code_point_display_name(0x2a6e0).has_value());
// Ideographic code points (which appeared individually in UnicodeData.txt and were coalesced into a range).
EXPECT_EQ(code_point_display_name(0x2f800), "CJK COMPATIBILITY IDEOGRAPH-2F800"sv);