Francois Gouget : Add trailing '\n's to ok() calls.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Feb 24 14:29:46 CST 2006


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Fri Feb 24 15:45:43 2006 +0100

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

---

 dlls/msvcrt/tests/file.c     |    2 +-
 dlls/ole32/tests/compobj.c   |    4 ++--
 dlls/riched20/tests/editor.c |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/msvcrt/tests/file.c b/dlls/msvcrt/tests/file.c
index bcc60fd..9166ee9 100644
--- a/dlls/msvcrt/tests/file.c
+++ b/dlls/msvcrt/tests/file.c
@@ -121,7 +121,7 @@ static void test_fileops( void )
     fclose (file);
 
     file = fopen("fdopen.tst", "rb");
-    ok( file != NULL, "fopen failed");
+    ok( file != NULL, "fopen failed\n");
     /* sizeof(buffer) > content of file */
     ok(fread(buffer, sizeof(buffer), 1, file) == 0, "fread test failed\n");
     /* feof should be set now */
diff --git a/dlls/ole32/tests/compobj.c b/dlls/ole32/tests/compobj.c
index f1f97cf..52c97df 100644
--- a/dlls/ole32/tests/compobj.c
+++ b/dlls/ole32/tests/compobj.c
@@ -87,7 +87,7 @@ static void test_CoCreateInstance(void)
     REFCLSID rclsid = &CLSID_MyComputer;
     IUnknown *pUnk = (IUnknown *)0xdeadbeef;
     HRESULT hr = CoCreateInstance(rclsid, NULL, CLSCTX_INPROC_SERVER, &IID_IUnknown, (void **)&pUnk);
-    ok(hr == CO_E_NOTINITIALIZED, "CoCreateInstance should have return CO_E_NOTINITIALIZED instead of 0x%08lx", hr);
+    ok(hr == CO_E_NOTINITIALIZED, "CoCreateInstance should have returned CO_E_NOTINITIALIZED instead of 0x%08lx\n", hr);
     ok(pUnk == NULL, "CoCreateInstance should have changed the passed in pointer to NULL, instead of %p\n", pUnk);
 
     OleInitialize(NULL);
@@ -97,7 +97,7 @@ static void test_CoCreateInstance(void)
     OleUninitialize();
 
     hr = CoCreateInstance(rclsid, NULL, CLSCTX_INPROC_SERVER, &IID_IUnknown, (void **)&pUnk);
-    ok(hr == CO_E_NOTINITIALIZED, "CoCreateInstance should have return CO_E_NOTINITIALIZED instead of 0x%08lx", hr);
+    ok(hr == CO_E_NOTINITIALIZED, "CoCreateInstance should have returned CO_E_NOTINITIALIZED instead of 0x%08lx\n", hr);
 }
 
 START_TEST(compobj)
diff --git a/dlls/riched20/tests/editor.c b/dlls/riched20/tests/editor.c
index 814fc1c..aae3486 100644
--- a/dlls/riched20/tests/editor.c
+++ b/dlls/riched20/tests/editor.c
@@ -483,7 +483,7 @@ static void test_TM_PLAINTEXT()
   /*Compare the two formattings. They should be the same.*/
 
   ok((cf2.dwMask == cf2test.dwMask) && (cf2.dwEffects == cf2test.dwEffects),
-     "Copied text retained formatting - cf2.dwMask: %f, cf2test.dwMask: %f, cf2.dwEffects: %f, cf2test.dwEffects: %f",
+     "Copied text retained formatting - cf2.dwMask: %f, cf2test.dwMask: %f, cf2.dwEffects: %f, cf2test.dwEffects: %f\n",
      (double) cf2.dwMask, (double) cf2test.dwMask, (double) cf2.dwEffects, (double) cf2test.dwEffects);
   DestroyWindow(hwndRichEdit);
 }




More information about the wine-cvs mailing list