Zhiyi Zhang : user32/tests: Add a trailing '\n' to some ok() calls.

Alexandre Julliard julliard at winehq.org
Wed May 6 15:34:28 CDT 2020


Module: wine
Branch: master
Commit: f671b524f241305e025deb59cb8ab666e88105e1
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=f671b524f241305e025deb59cb8ab666e88105e1

Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date:   Wed May  6 16:47:26 2020 +0800

user32/tests: Add a trailing '\n' to some ok() calls.

Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/user32/tests/dialog.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/user32/tests/dialog.c b/dlls/user32/tests/dialog.c
index 5a6a0bf5fb..3f6fe6cfca 100644
--- a/dlls/user32/tests/dialog.c
+++ b/dlls/user32/tests/dialog.c
@@ -652,8 +652,8 @@ static void test_WM_NEXTDLGCTL(void)
      * Check whether the style of the button which got the focus, changed to BS_DEFPUSHBUTTON and
      * the style of default button changed to BS_PUSHBUTTON.
      */
-    ok(get_button_style(g_hwndTestDlgBut1) == BS_DEFPUSHBUTTON, "Button1's style not set to BS_DEFPUSHBUTTON");
-    ok(get_button_style(g_hwndTestDlgBut2) == BS_PUSHBUTTON, "Button2's style not set to BS_PUSHBUTTON");
+    ok(get_button_style(g_hwndTestDlgBut1) == BS_DEFPUSHBUTTON, "Button1's style not set to BS_DEFPUSHBUTTON\n");
+    ok(get_button_style(g_hwndTestDlgBut2) == BS_PUSHBUTTON, "Button2's style not set to BS_PUSHBUTTON\n");
 
     /* Move focus to Button2 using "WM_NEXTDLGCTL" */
     DefDlgProcA(g_hwndTestDlg, WM_NEXTDLGCTL, 0, 0);
@@ -667,8 +667,8 @@ static void test_WM_NEXTDLGCTL(void)
      * Check whether the style of the button which got the focus, changed to BS_DEFPUSHBUTTON and
      * the style of button which lost the focus changed to BS_PUSHBUTTON.
      */
-    ok(get_button_style(g_hwndTestDlgBut1) == BS_PUSHBUTTON, "Button1's style not set to BS_PUSHBUTTON");
-    ok(get_button_style(g_hwndTestDlgBut2) == BS_DEFPUSHBUTTON, "Button2's style not set to BS_DEFPUSHBUTTON");
+    ok(get_button_style(g_hwndTestDlgBut1) == BS_PUSHBUTTON, "Button1's style not set to BS_PUSHBUTTON\n");
+    ok(get_button_style(g_hwndTestDlgBut2) == BS_DEFPUSHBUTTON, "Button2's style not set to BS_DEFPUSHBUTTON\n");
 
     /* Move focus to Edit control using "WM_NEXTDLGCTL" */
     DefDlgProcA(g_hwndTestDlg, WM_NEXTDLGCTL, 0, 0);




More information about the wine-cvs mailing list