Module: wine Branch: master Commit: 825a25ef96a9952487890dea668673af78a0774e URL: http://source.winehq.org/git/wine.git/?a=commit;h=825a25ef96a9952487890dea66...
Author: André Hentschel nerv@dawncrow.de Date: Fri Dec 23 20:02:54 2011 +0100
msvcrt/tests: Fix two test messages.
---
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..8aa7a81 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"));