msvcrt/tests: Fix two test messages
André Hentschel
nerv at dawncrow.de
Wed Dec 21 13:48:51 CST 2011
---
dlls/msvcrt/tests/string.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msvcrt/tests/string.c b/dlls/msvcrt/tests/string.c
index c923684..cf3829a 100644
--- a/dlls/msvcrt/tests/string.c
+++ b/dlls/msvcrt/tests/string.c
@@ -1583,7 +1583,7 @@ static void test__strlwr_s(void)
ok(ret == EINVAL, "Expected _strlwr_s to return EINVAL, got %d\n", ret);
ok(errno == EINVAL, "Expected errno to be EINVAL, got %d\n", errno);
ok(!memcmp(buffer, "\0oRrIsTeR", sizeof("\0oRrIsTeR")),
- "Expected the output buffer to be \"gorrIsTeR\"\n");
+ "Expected the output buffer to be \"\0oRrIsTeR\"\n");
strcpy(buffer, "GoRrIsTeR");
errno = EBADF;
@@ -1591,7 +1591,7 @@ static void test__strlwr_s(void)
ok(ret == EINVAL, "Expected _strlwr_s to return EINVAL, got %d\n", ret);
ok(errno == EINVAL, "Expected errno to be EINVAL, got %d\n", errno);
ok(!memcmp(buffer, "\0oRrIsTeR", sizeof("\0oRrIsTeR")),
- "Expected the output buffer to be \"gorrIsTeR\"\n");
+ "Expected the output buffer to be \"\0oRrIsTeR\"\n");
strcpy(buffer, "GoRrIsTeR");
ret = p_strlwr_s(buffer, sizeof("GoRrIsTeR"));
--
Best Regards, André Hentschel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Nachrichtenteil als Anhang
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20111221/945b22a3/attachment.ksh>
More information about the wine-patches
mailing list