From 2adb302a993f2250a9326013a8886698016c8673 Mon Sep 17 00:00:00 2001
From: Francois Gouget <fgouget@free.fr>
Date: Thu, 10 Nov 2005 11:17:38 +0000
Subject: [PATCH] Add trailing '\n's to ok() and TRACE() calls.

---
 dlls/comctl32/tests/toolbar.c | 2 +-
 dlls/d3d9/device.c            | 2 +-
 dlls/kernel/tests/thread.c    | 4 ++--
 dlls/msxml3/tests/domdoc.c    | 6 +++---
 dlls/setupapi/tests/parser.c  | 6 +++---
 dlls/user/tests/msg.c         | 4 ++--
 6 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/dlls/comctl32/tests/toolbar.c b/dlls/comctl32/tests/toolbar.c
index 945e0d268cd..8a87f28867e 100644
--- a/dlls/comctl32/tests/toolbar.c
+++ b/dlls/comctl32/tests/toolbar.c
@@ -59,7 +59,7 @@ static LRESULT CALLBACK MyWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPa
             0, NULL, (UINT)0,
             buttons, sizeof(buttons)/sizeof(buttons[0]),
             0, 0, 20, 16, sizeof(TBBUTTON));
-        ok(hToolbar != NULL, "Toolbar creation");
+        ok(hToolbar != NULL, "Toolbar creation\n");
 
         SendMessage(hToolbar, TB_ADDSTRINGA, 0, (LPARAM)"test\000");
 
diff --git a/dlls/d3d9/device.c b/dlls/d3d9/device.c
index a381c9725b5..a6071f298bb 100644
--- a/dlls/d3d9/device.c
+++ b/dlls/d3d9/device.c
@@ -104,7 +104,7 @@ HRESULT  WINAPI  IDirect3DDevice9Impl_GetDirect3D(LPDIRECT3DDEVICE9 iface, IDire
         FIXME("Call to IWineD3DDevice_GetDirect3D failed\n");
         *ppD3D9 = NULL;
     }
-    TRACE("(%p) returning %p\b",This , *ppD3D9);
+    TRACE("(%p) returning %p\n", This, *ppD3D9);
     return hr;
 }
 
diff --git a/dlls/kernel/tests/thread.c b/dlls/kernel/tests/thread.c
index a6a4f7b935e..5216962304e 100644
--- a/dlls/kernel/tests/thread.c
+++ b/dlls/kernel/tests/thread.c
@@ -236,7 +236,7 @@ static VOID test_CreateThread_basic(void)
   thread[0] = CreateThread(NULL,0,threadFunc2,NULL,0,NULL);
   GLE = GetLastError();
   if (thread[0]) { /* NT */
-    ok(GLE==0xFACEaBAD, "CreateThread set last error to %ld, expected 4207848365", GLE);
+    ok(GLE==0xFACEaBAD, "CreateThread set last error to %ld, expected 4207848365\n", GLE);
     ret = WaitForSingleObject(thread[0],100);
     ok(ret==WAIT_OBJECT_0, "threadFunc2 did not exit during 100 ms\n");
     ret = GetExitCodeThread(thread[0],&exitCode);
@@ -245,7 +245,7 @@ static VOID test_CreateThread_basic(void)
     ok(CloseHandle(thread[0])!=0,"Error closing thread handle\n");
   }
   else { /* 9x */
-    ok(GLE==ERROR_INVALID_PARAMETER, "CreateThread set last error to %ld, expected 87", GLE);
+    ok(GLE==ERROR_INVALID_PARAMETER, "CreateThread set last error to %ld, expected 87\n", GLE);
   }
 }
 
diff --git a/dlls/msxml3/tests/domdoc.c b/dlls/msxml3/tests/domdoc.c
index 0567bcfaf6a..ce5514592b3 100644
--- a/dlls/msxml3/tests/domdoc.c
+++ b/dlls/msxml3/tests/domdoc.c
@@ -157,7 +157,7 @@ void test_domdoc( void )
 
     /* check if nodename is correct */
     r = IXMLDOMDocument_get_nodeName( doc, NULL );
-    ok ( r == E_INVALIDARG, "get_nodeName (NULL) wrong code");
+    ok ( r == E_INVALIDARG, "get_nodeName (NULL) wrong code\n");
 
     /* content doesn't matter here */
     str = SysAllocString( szNonExistentFile );
@@ -307,7 +307,7 @@ void test_domnode( void )
 
         /* check if nodename is correct */
         r = IXMLDOMElement_get_nodeName( element, NULL );
-        ok ( r == E_INVALIDARG, "get_nodeName (NULL) wrong code");
+        ok ( r == E_INVALIDARG, "get_nodeName (NULL) wrong code\n");
     
         /* content doesn't matter here */
         str = SysAllocString( szNonExistentFile );
@@ -358,7 +358,7 @@ void test_domnode( void )
         ok ( node != NULL, "should be attribute\n");
 
         r = IXMLDOMNode_get_nodeName( node, NULL );
-        ok ( r == E_INVALIDARG, "get_nodeName (NULL) wrong code");
+        ok ( r == E_INVALIDARG, "get_nodeName (NULL) wrong code\n");
 
         /* content doesn't matter here */
         str = SysAllocString( szNonExistentFile );
diff --git a/dlls/setupapi/tests/parser.c b/dlls/setupapi/tests/parser.c
index d5851416984..84780e12dc0 100644
--- a/dlls/setupapi/tests/parser.c
+++ b/dlls/setupapi/tests/parser.c
@@ -218,13 +218,13 @@ static void test_section_names(void)
         trace( "hinf=%p ret=%ld err=%lx\n", hinf, ret, err );
         if (ret != -1)
         {
-            ok( !section_names[i].error, "line %u: section name %s found",
+            ok( !section_names[i].error, "line %u: section name %s found\n",
                 i, section_names[i].section );
-            ok( !err, "line %u: bad error code %lx", i, err );
+            ok( !err, "line %u: bad error code %lx\n", i, err );
         }
         else
         {
-            ok( section_names[i].error, "line %u: section name %s not found",
+            ok( section_names[i].error, "line %u: section name %s not found\n",
                 i, section_names[i].section );
             ok( err == section_names[i].error, "line %u: bad error %lx/%lx\n",
                 i, err, section_names[i].error );
diff --git a/dlls/user/tests/msg.c b/dlls/user/tests/msg.c
index c9b89d1231b..dec8eb92618 100644
--- a/dlls/user/tests/msg.c
+++ b/dlls/user/tests/msg.c
@@ -3735,7 +3735,7 @@ static void test_paint_messages(void)
      */
     trace("testing ValidateRect(0, NULL)\n");
     SetRectEmpty( &rect );
-    ok(ValidateRect(0, &rect), "ValidateRect(0, &rc) should not fail");
+    ok(ValidateRect(0, &rect), "ValidateRect(0, &rc) should not fail\n");
     check_update_rgn( hwnd, hrgn );
     ok_sequence( WmInvalidateErase, "InvalidateErase", FALSE );
     while (PeekMessage( &msg, 0, 0, 0, PM_REMOVE )) DispatchMessage( &msg );
@@ -3753,7 +3753,7 @@ static void test_paint_messages(void)
 
     trace("testing ValidateRgn(0, NULL)\n");
     SetLastError(0xdeadbeef);
-    ok(!ValidateRgn(0, NULL), "ValidateRgn(0, NULL) should fail");
+    ok(!ValidateRgn(0, NULL), "ValidateRgn(0, NULL) should fail\n");
     ok(GetLastError() == ERROR_INVALID_WINDOW_HANDLE, "wrong error code %ld\n", GetLastError());
     check_update_rgn( hwnd, 0 );
     while (PeekMessage( &msg, 0, 0, 0, PM_REMOVE )) DispatchMessage( &msg );
-- 
GitLab