I can't count

This commit is contained in:
TsFreddie 2020-09-07 00:03:40 +01:00
parent e48596dc6c
commit 05c199e2aa

View file

@ -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最好了");
}