Paul Vriens : advapi32/tests: Add some extra info to an ok() call.

Alexandre Julliard julliard at winehq.org
Tue Nov 17 09:28:20 CST 2009


Module: wine
Branch: master
Commit: 6befd9f54ccaf61f3dedbfa7a7620de11f84beaa
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6befd9f54ccaf61f3dedbfa7a7620de11f84beaa

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Tue Nov 17 13:51:44 2009 +0100

advapi32/tests: Add some extra info to an ok() call.

---

 dlls/advapi32/tests/eventlog.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/advapi32/tests/eventlog.c b/dlls/advapi32/tests/eventlog.c
index ba9a897..0186f2b 100644
--- a/dlls/advapi32/tests/eventlog.c
+++ b/dlls/advapi32/tests/eventlog.c
@@ -1000,7 +1000,8 @@ static void test_autocreation(void)
         }
         lstrcpyA(p, eventlogname);
 
-        ok(!memcmp(sources, sources_verify, size), "Expected a correct 'Sources' value\n");
+        ok(!memcmp(sources, sources_verify, size),
+           "Expected a correct 'Sources' value (size : %d)\n", size);
     }
 
     RegCloseKey(eventkey);




More information about the wine-cvs mailing list