Alexandre Julliard : msi/tests: Avoid sizeof in traces.
Module: wine Branch: master Commit: 2a5cf54f05194201f36a138193c3d1336c7f26b5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2a5cf54f05194201f36a138193... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Sat Dec 20 13:32:47 2008 +0100 msi/tests: Avoid sizeof in traces. --- dlls/msi/tests/msi.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msi/tests/msi.c b/dlls/msi/tests/msi.c index 7201329..3396f5c 100644 --- a/dlls/msi/tests/msi.c +++ b/dlls/msi/tests/msi.c @@ -7940,7 +7940,7 @@ static void test_MsiEnumPatchesEx(void) ok(context == MSIINSTALLCONTEXT_USERMANAGED, "Expected MSIINSTALLCONTEXT_USERMANAGED, got %d\n", context); ok(size == lstrlenA(usersid) * sizeof(WCHAR), - "Expected %d, got %d\n", lstrlenA(usersid) * sizeof(WCHAR), size); + "Got %d\n", size); /* pcchTargetUserSid is exactly the length of szTargetUserSid */ lstrcpyA(patchcode, "apple"); @@ -7961,7 +7961,7 @@ static void test_MsiEnumPatchesEx(void) ok(!strncmp(targetsid, usersid, lstrlenA(usersid) - 1), "Expected \"%s\", got \"%s\"\n", usersid, targetsid); ok(size == lstrlenA(usersid) * sizeof(WCHAR), - "Expected %d, got %d\n", lstrlenA(usersid) * sizeof(WCHAR), size); + "Got %d\n", size); /* pcchTargetUserSid has enough room for NULL terminator */ lstrcpyA(patchcode, "apple");
participants (1)
-
Alexandre Julliard