Add trailing '\n's to ok() calls
Francois Gouget
fgouget at free.fr
Fri Feb 24 08:45:43 CST 2006
Changelog:
* dlls/msvcrt/tests/file.c
dlls/ole32/tests/compobj.c
dlls/riched20/tests/editor.c
Francois Gouget <fgouget at free.fr>
Add trailing '\n's to ok() calls.
--
Francois Gouget <fgouget at free.fr> http://fgouget.free.fr/
In a world without fences who needs Gates?
-------------- next part --------------
Index: dlls/msvcrt/tests/file.c
===================================================================
RCS file: /home/wine/wine/dlls/msvcrt/tests/file.c,v
retrieving revision 1.23
diff -u -p -r1.23 file.c
--- dlls/msvcrt/tests/file.c 17 Feb 2006 17:42:52 -0000 1.23
+++ dlls/msvcrt/tests/file.c 24 Feb 2006 10:57:03 -0000
@@ -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 */
Index: dlls/ole32/tests/compobj.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/tests/compobj.c,v
retrieving revision 1.5
diff -u -p -r1.5 compobj.c
--- dlls/ole32/tests/compobj.c 22 Feb 2006 21:31:41 -0000 1.5
+++ dlls/ole32/tests/compobj.c 24 Feb 2006 10:57:04 -0000
@@ -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)
Index: dlls/riched20/tests/editor.c
===================================================================
RCS file: /home/wine/wine/dlls/riched20/tests/editor.c,v
retrieving revision 1.7
diff -u -p -r1.7 editor.c
--- dlls/riched20/tests/editor.c 22 Feb 2006 21:31:38 -0000 1.7
+++ dlls/riched20/tests/editor.c 24 Feb 2006 10:57:07 -0000
@@ -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-patches
mailing list