Fix wmemmove test.

I accidentally copied over the nul terminator with the test.

Change-Id: I24a9aa05d4fba4f383fa38a3041bb6a6b179130c
This commit is contained in:
Christopher Ferris 2014-05-29 15:42:42 -07:00
parent d4fbb1a861
commit 8bf50d5b72

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);
}