Francois Gouget : kernel32/tests: Add a trailing '\n' to ok() calls.

Alexandre Julliard julliard at winehq.org
Mon May 4 09:06:39 CDT 2009


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon May  4 10:50:18 2009 +0200

kernel32/tests: Add a trailing '\n' to ok() calls.

---

 dlls/kernel32/tests/heap.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/dlls/kernel32/tests/heap.c b/dlls/kernel32/tests/heap.c
index a674e07..39517cc 100644
--- a/dlls/kernel32/tests/heap.c
+++ b/dlls/kernel32/tests/heap.c
@@ -38,23 +38,23 @@ static void test_sized_HeapAlloc(int nbytes)
 {
     int success;
     char *buf = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, nbytes);
-    ok(buf != NULL, "allocate failed");
-    ok(buf[0] == 0, "buffer not zeroed");
+    ok(buf != NULL, "allocate failed\n");
+    ok(buf[0] == 0, "buffer not zeroed\n");
     success = HeapFree(GetProcessHeap(), 0, buf);
-    ok(success, "free failed");
+    ok(success, "free failed\n");
 }
 
 static void test_sized_HeapReAlloc(int nbytes1, int nbytes2)
 {
     int success;
     char *buf = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, nbytes1);
-    ok(buf != NULL, "allocate failed");
-    ok(buf[0] == 0, "buffer not zeroed");
+    ok(buf != NULL, "allocate failed\n");
+    ok(buf[0] == 0, "buffer not zeroed\n");
     buf = HeapReAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, buf, nbytes2);
-    ok(buf != NULL, "reallocate failed");
-    ok(buf[nbytes2-1] == 0, "buffer not zeroed");
+    ok(buf != NULL, "reallocate failed\n");
+    ok(buf[nbytes2-1] == 0, "buffer not zeroed\n");
     success = HeapFree(GetProcessHeap(), 0, buf);
-    ok(success, "free failed");
+    ok(success, "free failed\n");
 }
 
 static void test_heap(void)




More information about the wine-cvs mailing list