Improve parse_html test.
This commit is contained in:
parent
137fd3beb9
commit
1919671df3
@ -1255,7 +1255,8 @@ TEST(MessageEntities, parse_html) {
|
|||||||
|
|
||||||
check_parse_html("", "", {});
|
check_parse_html("", "", {});
|
||||||
check_parse_html("➡️ ➡️", "➡️ ➡️", {});
|
check_parse_html("➡️ ➡️", "➡️ ➡️", {});
|
||||||
check_parse_html("<>&"«»�", "<>&\"«»�", {});
|
check_parse_html("≥<>&"«»�", "≥<>&\"«»�", {});
|
||||||
|
check_parse_html("⩔", "⩔", {});
|
||||||
check_parse_html("➡️ ➡️<i>➡️ ➡️</i>", "➡️ ➡️➡️ ➡️",
|
check_parse_html("➡️ ➡️<i>➡️ ➡️</i>", "➡️ ➡️➡️ ➡️",
|
||||||
{{td::MessageEntity::Type::Italic, 5, 5}});
|
{{td::MessageEntity::Type::Italic, 5, 5}});
|
||||||
check_parse_html("➡️ ➡️<em>➡️ ➡️</em>", "➡️ ➡️➡️ ➡️",
|
check_parse_html("➡️ ➡️<em>➡️ ➡️</em>", "➡️ ➡️➡️ ➡️",
|
||||||
|
Loading…
Reference in New Issue
Block a user