Fix test.
GitOrigin-RevId: 4e040bbe77f337c2a9fa094fbba9f71cf197fe8b
This commit is contained in:
parent
5d8b9c6c9a
commit
a4bd81b631
@ -41,9 +41,8 @@ TEST(MessageEntities, mention) {
|
||||
check_mention("@abcdefghijklmnopqrstuvwxyz123456", {"@abcdefghijklmnopqrstuvwxyz123456"});
|
||||
check_mention("@abcdefghijklmnopqrstuvwxyz1234567", {});
|
||||
check_mention("нет@mention", {});
|
||||
check_mention(
|
||||
"@ya @gif @wiki @vid @bing @pic @bold @imdb @coub @like @vote @giff @cap ya cap @y @yar @bingg @bin",
|
||||
{"@ya", "@gif", "@wiki", "@vid", "@bing", "@pic", "@bold", "@imdb", "@coub", "@like", "@vote", "@bingg"});
|
||||
check_mention("@ya @gif @wiki @vid @bing @pic @bold @imdb @coub @like @vote @giff @cap ya cap @y @yar @bingg @bin",
|
||||
{"@gif", "@wiki", "@vid", "@bing", "@pic", "@bold", "@imdb", "@coub", "@like", "@vote", "@bingg"});
|
||||
};
|
||||
|
||||
static void check_bot_command(string str, std::vector<string> expected) {
|
||||
|
Loading…
Reference in New Issue
Block a user