From 2a5cf54f05194201f36a138193c3d1336c7f26b5 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Sat, 20 Dec 2008 13:32:47 +0100 Subject: [PATCH] msi/tests: Avoid sizeof in traces. --- dlls/msi/tests/msi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msi/tests/msi.c b/dlls/msi/tests/msi.c index 7201329e969..3396f5c5bd4 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");