mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
I can't count
This commit is contained in:
parent
e48596dc6c
commit
05c199e2aa
|
@ -218,19 +218,19 @@ TEST(Str, StrCopyUtf8)
|
|||
str_utf8_copy(aBuf, foo, 8);
|
||||
EXPECT_STREQ(aBuf, "DDNet");
|
||||
str_utf8_copy(aBuf, foo, 9);
|
||||
EXPECT_STREQ(aBuf, "DDNet");
|
||||
EXPECT_STREQ(aBuf, "DDNet最");
|
||||
str_utf8_copy(aBuf, foo, 10);
|
||||
EXPECT_STREQ(aBuf, "DDNet最");
|
||||
str_utf8_copy(aBuf, foo, 11);
|
||||
EXPECT_STREQ(aBuf, "DDNet最");
|
||||
str_utf8_copy(aBuf, foo, 12);
|
||||
EXPECT_STREQ(aBuf, "DDNet最");
|
||||
EXPECT_STREQ(aBuf, "DDNet最好");
|
||||
str_utf8_copy(aBuf, foo, 13);
|
||||
EXPECT_STREQ(aBuf, "DDNet最好");
|
||||
str_utf8_copy(aBuf, foo, 14);
|
||||
EXPECT_STREQ(aBuf, "DDNet最好");
|
||||
str_utf8_copy(aBuf, foo, 15);
|
||||
EXPECT_STREQ(aBuf, "DDNet最好");
|
||||
EXPECT_STREQ(aBuf, "DDNet最好了");
|
||||
str_utf8_copy(aBuf, foo, 16);
|
||||
EXPECT_STREQ(aBuf, "DDNet最好了");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue