aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/wchar_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/wchar_test.cpp b/tests/wchar_test.cpp
index 5fa5bf992..5a250a24f 100644
--- a/tests/wchar_test.cpp
+++ b/tests/wchar_test.cpp
@@ -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);
}