Add trailing '\n's to ok() calls
Francois Gouget
fgouget at free.fr
Mon Dec 13 06:57:22 CST 2004
Changelog:
* dlls/mscms/tests/profile.c
dlls/msvcrt/tests/file.c
dlls/rsaenh/tests/rsaenh.c
dlls/user/tests/msg.c
Add trailing '\n's to ok() calls
--
Francois Gouget fgouget at free.fr http://fgouget.free.fr/
Broadcast message : fin du monde dans cinq minutes, repentez vous !
-------------- next part --------------
Index: dlls/mscms/tests/profile.c
===================================================================
RCS file: /var/cvs/wine/dlls/mscms/tests/profile.c,v
retrieving revision 1.6
diff -u -r1.6 profile.c
--- dlls/mscms/tests/profile.c 7 Dec 2004 14:42:47 -0000 1.6
+++ dlls/mscms/tests/profile.c 7 Dec 2004 14:51:46 -0000
@@ -629,7 +629,7 @@
handle = OpenColorProfileA( &profile, PROFILE_READWRITE, 0, 0 );
ok( handle == NULL, "OpenColorProfileA() failed (%ld)\n", GetLastError() );
- ok ( !CloseColorProfile( NULL ), "CloseColorProfile() succeeded" );
+ ok ( !CloseColorProfile( NULL ), "CloseColorProfile() succeeded\n" );
if (standardprofile)
{
@@ -677,7 +677,7 @@
handle = OpenColorProfileW( &profile, PROFILE_READWRITE, 0, 0 );
ok( handle == NULL, "OpenColorProfileW() failed (%ld)\n", GetLastError() );
- ok ( !CloseColorProfile( NULL ), "CloseColorProfile() succeeded" );
+ ok ( !CloseColorProfile( NULL ), "CloseColorProfile() succeeded\n" );
if (standardprofileW)
{
Index: dlls/msvcrt/tests/file.c
===================================================================
RCS file: /var/cvs/wine/dlls/msvcrt/tests/file.c,v
retrieving revision 1.10
diff -u -r1.10 file.c
--- dlls/msvcrt/tests/file.c 3 Sep 2004 01:05:30 -0000 1.10
+++ dlls/msvcrt/tests/file.c 6 Dec 2004 22:51:15 -0000
@@ -261,7 +261,7 @@
char buffer[16];
fd = open ("fdopen.tst", O_CREAT | O_RDWR | O_BINARY, _S_IREAD |_S_IWRITE);
- ok(fd != -1, "Couldn't create test file\n ");
+ ok(fd != -1, "Couldn't create test file\n");
arg_v[0] = selfname;
arg_v[1] = "tests/file.c";
arg_v[2] = buffer; sprintf(buffer, "%d", fd);
@@ -274,7 +274,7 @@
ok(unlink("fdopen.tst") != 1, "Couldn't unlink\n");
fd = open ("fdopen.tst", O_CREAT | O_RDWR | O_BINARY | O_NOINHERIT, _S_IREAD |_S_IWRITE);
- ok(fd != -1, "Couldn't create test file\n ");
+ ok(fd != -1, "Couldn't create test file\n");
arg_v[0] = selfname;
arg_v[1] = "tests/file.c";
arg_v[2] = buffer; sprintf(buffer, "%d", fd);
Index: dlls/rsaenh/tests/rsaenh.c
===================================================================
RCS file: /var/cvs/wine/dlls/rsaenh/tests/rsaenh.c,v
retrieving revision 1.1
diff -u -r1.1 rsaenh.c
--- dlls/rsaenh/tests/rsaenh.c 4 Nov 2004 21:15:32 -0000 1.1
+++ dlls/rsaenh/tests/rsaenh.c 6 Dec 2004 22:51:22 -0000
@@ -127,7 +127,7 @@
result = CryptCreateHash(hProv, CALG_MD2, 0, 0, &hHash);
if (!result) {
/* rsaenh compiled without OpenSSL */
- ok(GetLastError()==NTE_BAD_ALGID, "%08lx", GetLastError());
+ ok(GetLastError()==NTE_BAD_ALGID, "%08lx\n", GetLastError());
return FALSE;
}
ok(result, "%08lx\n", GetLastError());
Index: dlls/user/tests/msg.c
===================================================================
RCS file: /var/cvs/wine/dlls/user/tests/msg.c,v
retrieving revision 1.56
diff -u -r1.56 msg.c
--- dlls/user/tests/msg.c 7 Dec 2004 17:34:19 -0000 1.56
+++ dlls/user/tests/msg.c 7 Dec 2004 17:16:16 -0000
@@ -4056,8 +4056,8 @@
NULL, NULL, 0);
info.id = SetTimer(info.hWnd,TIMER_ID,10000,tfunc);
- ok(info.id, "SetTimer failed");
- ok(info.id==TIMER_ID, "SetTimer timer ID different");
+ ok(info.id, "SetTimer failed\n");
+ ok(info.id==TIMER_ID, "SetTimer timer ID different\n");
info.handles[0] = CreateEvent(NULL,0,0,NULL);
info.handles[1] = CreateThread(NULL,0,timer_thread_proc,&info,0,&id);
More information about the wine-patches
mailing list