Commit 2adb302a authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Add trailing '\n's to ok() and TRACE() calls.

parent 63f8bdaa
...@@ -59,7 +59,7 @@ static LRESULT CALLBACK MyWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPa ...@@ -59,7 +59,7 @@ static LRESULT CALLBACK MyWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPa
0, NULL, (UINT)0, 0, NULL, (UINT)0,
buttons, sizeof(buttons)/sizeof(buttons[0]), buttons, sizeof(buttons)/sizeof(buttons[0]),
0, 0, 20, 16, sizeof(TBBUTTON)); 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"); SendMessage(hToolbar, TB_ADDSTRINGA, 0, (LPARAM)"test\000");
......
...@@ -104,7 +104,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_GetDirect3D(LPDIRECT3DDEVICE9 iface, IDire ...@@ -104,7 +104,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_GetDirect3D(LPDIRECT3DDEVICE9 iface, IDire
FIXME("Call to IWineD3DDevice_GetDirect3D failed\n"); FIXME("Call to IWineD3DDevice_GetDirect3D failed\n");
*ppD3D9 = NULL; *ppD3D9 = NULL;
} }
TRACE("(%p) returning %p\b",This , *ppD3D9); TRACE("(%p) returning %p\n", This, *ppD3D9);
return hr; return hr;
} }
......
...@@ -236,7 +236,7 @@ static VOID test_CreateThread_basic(void) ...@@ -236,7 +236,7 @@ static VOID test_CreateThread_basic(void)
thread[0] = CreateThread(NULL,0,threadFunc2,NULL,0,NULL); thread[0] = CreateThread(NULL,0,threadFunc2,NULL,0,NULL);
GLE = GetLastError(); GLE = GetLastError();
if (thread[0]) { /* NT */ 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); ret = WaitForSingleObject(thread[0],100);
ok(ret==WAIT_OBJECT_0, "threadFunc2 did not exit during 100 ms\n"); ok(ret==WAIT_OBJECT_0, "threadFunc2 did not exit during 100 ms\n");
ret = GetExitCodeThread(thread[0],&exitCode); ret = GetExitCodeThread(thread[0],&exitCode);
...@@ -245,7 +245,7 @@ static VOID test_CreateThread_basic(void) ...@@ -245,7 +245,7 @@ static VOID test_CreateThread_basic(void)
ok(CloseHandle(thread[0])!=0,"Error closing thread handle\n"); ok(CloseHandle(thread[0])!=0,"Error closing thread handle\n");
} }
else { /* 9x */ 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);
} }
} }
......
...@@ -157,7 +157,7 @@ void test_domdoc( void ) ...@@ -157,7 +157,7 @@ void test_domdoc( void )
/* check if nodename is correct */ /* check if nodename is correct */
r = IXMLDOMDocument_get_nodeName( doc, NULL ); 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 */ /* content doesn't matter here */
str = SysAllocString( szNonExistentFile ); str = SysAllocString( szNonExistentFile );
...@@ -307,7 +307,7 @@ void test_domnode( void ) ...@@ -307,7 +307,7 @@ void test_domnode( void )
/* check if nodename is correct */ /* check if nodename is correct */
r = IXMLDOMElement_get_nodeName( element, NULL ); 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 */ /* content doesn't matter here */
str = SysAllocString( szNonExistentFile ); str = SysAllocString( szNonExistentFile );
...@@ -358,7 +358,7 @@ void test_domnode( void ) ...@@ -358,7 +358,7 @@ void test_domnode( void )
ok ( node != NULL, "should be attribute\n"); ok ( node != NULL, "should be attribute\n");
r = IXMLDOMNode_get_nodeName( node, NULL ); 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 */ /* content doesn't matter here */
str = SysAllocString( szNonExistentFile ); str = SysAllocString( szNonExistentFile );
......
...@@ -218,13 +218,13 @@ static void test_section_names(void) ...@@ -218,13 +218,13 @@ static void test_section_names(void)
trace( "hinf=%p ret=%ld err=%lx\n", hinf, ret, err ); trace( "hinf=%p ret=%ld err=%lx\n", hinf, ret, err );
if (ret != -1) 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 ); 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 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 ); i, section_names[i].section );
ok( err == section_names[i].error, "line %u: bad error %lx/%lx\n", ok( err == section_names[i].error, "line %u: bad error %lx/%lx\n",
i, err, section_names[i].error ); i, err, section_names[i].error );
......
...@@ -3735,7 +3735,7 @@ static void test_paint_messages(void) ...@@ -3735,7 +3735,7 @@ static void test_paint_messages(void)
*/ */
trace("testing ValidateRect(0, NULL)\n"); trace("testing ValidateRect(0, NULL)\n");
SetRectEmpty( &rect ); 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 ); check_update_rgn( hwnd, hrgn );
ok_sequence( WmInvalidateErase, "InvalidateErase", FALSE ); ok_sequence( WmInvalidateErase, "InvalidateErase", FALSE );
while (PeekMessage( &msg, 0, 0, 0, PM_REMOVE )) DispatchMessage( &msg ); while (PeekMessage( &msg, 0, 0, 0, PM_REMOVE )) DispatchMessage( &msg );
...@@ -3753,7 +3753,7 @@ static void test_paint_messages(void) ...@@ -3753,7 +3753,7 @@ static void test_paint_messages(void)
trace("testing ValidateRgn(0, NULL)\n"); trace("testing ValidateRgn(0, NULL)\n");
SetLastError(0xdeadbeef); 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()); ok(GetLastError() == ERROR_INVALID_WINDOW_HANDLE, "wrong error code %ld\n", GetLastError());
check_update_rgn( hwnd, 0 ); check_update_rgn( hwnd, 0 );
while (PeekMessage( &msg, 0, 0, 0, PM_REMOVE )) DispatchMessage( &msg ); while (PeekMessage( &msg, 0, 0, 0, PM_REMOVE )) DispatchMessage( &msg );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment