Fix is_emoji.
This commit is contained in:
parent
fb39e5d746
commit
bf9c78e982
File diff suppressed because it is too large
Load Diff
@ -1232,4 +1232,6 @@ TEST(Misc, is_emoji) {
|
|||||||
ASSERT_TRUE(!td::is_emoji(" "));
|
ASSERT_TRUE(!td::is_emoji(" "));
|
||||||
ASSERT_TRUE(!td::is_emoji(""));
|
ASSERT_TRUE(!td::is_emoji(""));
|
||||||
ASSERT_TRUE(!td::is_emoji("1234567890123456789012345678901234567890123456789012345678901234567890"));
|
ASSERT_TRUE(!td::is_emoji("1234567890123456789012345678901234567890123456789012345678901234567890"));
|
||||||
|
ASSERT_TRUE(td::is_emoji("❤️"));
|
||||||
|
ASSERT_TRUE(td::is_emoji("❤"));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user