Merge "Fix wmemmove test."

This commit is contained in:
Christopher Ferris 2014-05-29 23:40:39 +00:00 committed by Gerrit Code Review
commit 5800aab347

View File

@ -450,6 +450,6 @@ TEST(wchar, wmemmove) {
wmemmove(wstr, const_wstr, sizeof(const_wstr)/sizeof(wchar_t));
EXPECT_STREQ(const_wstr, wstr);
wmemmove(wstr+5, wstr, sizeof(const_wstr)/sizeof(wchar_t) - 5);
EXPECT_STREQ(L"This This is a test of something or other.", wstr);
wmemmove(wstr+5, wstr, sizeof(const_wstr)/sizeof(wchar_t) - 6);
EXPECT_STREQ(L"This This is a test of something or other", wstr);
}