Add trailing '\n's to ok() calls
Francois Gouget
fgouget at free.fr
Tue May 4 07:08:11 CDT 2004
A quick check today revealed that one test had a few ok() calls with no
trailing '\n'. Just one test in the 3 months since the change is not
bad. Here's the fix.
Changelog:
* dlls/user/tests/msg.c
Add trailing '\n's to ok() calls
Index: dlls/user/tests/msg.c
===================================================================
RCS file: /var/cvs/wine/dlls/user/tests/msg.c,v
retrieving revision 1.14
diff -u -r1.14 msg.c
--- a/dlls/user/tests/msg.c 30 Apr 2004 04:15:13 -0000 1.14
+++ b/dlls/user/tests/msg.c 4 May 2004 12:02:13 -0000
@@ -567,7 +567,7 @@
ok_sequence(WmSetRedrawTrueSeq, "SetRedraw:TRUE");
ok(GetWindowLongA(hwnd, GWL_STYLE) & WS_VISIBLE, "WS_VISIBLE should be set\n");
- ok(IsWindowVisible(hwnd), "IsWindowVisible() should return TRUE");
+ ok(IsWindowVisible(hwnd), "IsWindowVisible() should return TRUE\n");
/* restore original WS_VISIBLE state */
SetWindowLongA(hwnd, GWL_STYLE, style);
@@ -706,15 +706,15 @@
hwnd = CreateWindowExA(0, "TestWindowClass", "Test overlapped", WS_OVERLAPPEDWINDOW,
100, 100, 200, 200, 0, hmenu, 0, NULL);
ok_sequence(WmCreateOverlappedSeq, "CreateWindow:overlapped");
- ok (SetMenu(hwnd, 0), "SetMenu");
+ ok (SetMenu(hwnd, 0), "SetMenu\n");
ok_sequence(WmSetMenuNonVisibleSizeChangeSeq, "SetMenu:NonVisibleSizeChange");
- ok (SetMenu(hwnd, 0), "SetMenu");
+ ok (SetMenu(hwnd, 0), "SetMenu\n");
ok_sequence(WmSetMenuNonVisibleNoSizeChangeSeq, "SetMenu:NonVisibleNoSizeChange");
ShowWindow(hwnd, SW_SHOW);
flush_sequence();
- ok (SetMenu(hwnd, 0), "SetMenu");
+ ok (SetMenu(hwnd, 0), "SetMenu\n");
ok_sequence(WmSetMenuVisibleNoSizeChangeSeq, "SetMenu:VisibleNoSizeChange");
- ok (SetMenu(hwnd, hmenu), "SetMenu");
+ ok (SetMenu(hwnd, hmenu), "SetMenu\n");
ok_sequence(WmSetMenuVisibleSizeChangeSeq, "SetMenu:VisibleSizeChange");
DestroyWindow(hwnd);
--
Francois Gouget fgouget at free.fr http://fgouget.free.fr/
Linux: Because rebooting is for adding new hardware
More information about the wine-patches
mailing list