* commit 'd853267899d6c2fb1eed428285c66b5c77a7c55f': Fix wmemmove test.
This commit is contained in:
commit
017cec033a
@ -450,6 +450,6 @@ TEST(wchar, wmemmove) {
|
|||||||
wmemmove(wstr, const_wstr, sizeof(const_wstr)/sizeof(wchar_t));
|
wmemmove(wstr, const_wstr, sizeof(const_wstr)/sizeof(wchar_t));
|
||||||
EXPECT_STREQ(const_wstr, wstr);
|
EXPECT_STREQ(const_wstr, wstr);
|
||||||
|
|
||||||
wmemmove(wstr+5, wstr, sizeof(const_wstr)/sizeof(wchar_t) - 5);
|
wmemmove(wstr+5, wstr, sizeof(const_wstr)/sizeof(wchar_t) - 6);
|
||||||
EXPECT_STREQ(L"This This is a test of something or other.", wstr);
|
EXPECT_STREQ(L"This This is a test of something or other", wstr);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user