Add missing trailing '\n's to ok() calls
Francois Gouget
fgouget at free.fr
Thu Sep 2 06:58:04 CDT 2004
Thanks go to Ferenc Wagner for giving me the idea to re-run my
ok() fixing script. This patch fixes the couple incorrect ok() calls I
found outside of the imagelist.c test.
Changelog:
* dlls/mlang/tests/mlang.c
dlls/ole32/tests/storage32.c
dlls/user/tests/clipboard.c
dlls/user/tests/dialog.c
Add missing trailing '\n's to ok() calls.
--
Francois Gouget fgouget at free.fr http://fgouget.free.fr/
145 = 1! + 4! + 5!
-------------- next part --------------
Index: dlls/mlang/tests/mlang.c
===================================================================
RCS file: /var/cvs/wine/dlls/mlang/tests/mlang.c,v
retrieving revision 1.5
diff -u -r1.5 mlang.c
--- dlls/mlang/tests/mlang.c 23 Aug 2004 17:52:42 -0000 1.5
+++ dlls/mlang/tests/mlang.c 2 Sep 2004 11:51:43 -0000
@@ -299,7 +299,7 @@
if (!flags)
{
- ok(n == total, "IEnumCodePage_Next: expected %u, got %lu", total, n);
+ ok(n == total, "IEnumCodePage_Next: expected %u, got %lu\n", total, n);
flags = MIMECONTF_MIME_LATEST;
}
Index: dlls/ole32/tests/storage32.c
===================================================================
RCS file: /var/cvs/wine/dlls/ole32/tests/storage32.c,v
retrieving revision 1.1
diff -u -r1.1 storage32.c
--- dlls/ole32/tests/storage32.c 11 Aug 2004 00:17:52 -0000 1.1
+++ dlls/ole32/tests/storage32.c 2 Sep 2004 11:51:45 -0000
@@ -58,7 +58,7 @@
todo_wine {
ok( stat.grfMode == 0x12, "grf mode is incorrect\n");
}
- ok( !memcmp(&stat.clsid, &test_stg_cls, sizeof test_stg_cls), "CLSID is wrong");
+ ok( !memcmp(&stat.clsid, &test_stg_cls, sizeof test_stg_cls), "CLSID is wrong\n");
refcount = IStorage_Release( stg );
ok( refcount == 0, "IStorage refcount is wrong\n");
Index: dlls/user/tests/clipboard.c
===================================================================
RCS file: /var/cvs/wine/dlls/user/tests/clipboard.c,v
retrieving revision 1.1
diff -u -r1.1 clipboard.c
--- dlls/user/tests/clipboard.c 25 Jun 2004 02:55:37 -0000 1.1
+++ dlls/user/tests/clipboard.c 2 Sep 2004 11:51:48 -0000
@@ -76,7 +76,7 @@
ok(!OpenClipboard(hWnd2) && GetLastError() == 0xdeadbeef,
"OpenClipboard should fail without setting last error value\n");
- ok(CloseClipboard(), "CloseClipboard error %ld", GetLastError());
+ ok(CloseClipboard(), "CloseClipboard error %ld\n", GetLastError());
ok(GetClipboardOwner() == hWnd1, "clipboard should still be owned\n");
ok(DestroyWindow(hWnd1), "DestroyWindow error %ld\n", GetLastError());
Index: dlls/user/tests/dialog.c
===================================================================
RCS file: /var/cvs/wine/dlls/user/tests/dialog.c,v
retrieving revision 1.5
diff -u -r1.5 dialog.c
--- dlls/user/tests/dialog.c 14 Aug 2004 00:44:08 -0000 1.5
+++ dlls/user/tests/dialog.c 2 Sep 2004 11:51:48 -0000
@@ -562,7 +562,7 @@
DefDlgProcA( g_hwndTestDlgBut1, BM_SETSTYLE, BS_DEFPUSHBUTTON, FALSE );
dwVal = DefDlgProcA(g_hwndTestDlg, DM_GETDEFID, 0, 0);
- ok ( IDCANCEL == (LOWORD(dwVal)), "Did not set default ID" );
+ ok ( IDCANCEL == (LOWORD(dwVal)), "Did not set default ID\n" );
/*
* Check whether message WM_NEXTDLGCTL is changing the focus to next control and if
More information about the wine-patches
mailing list