Francois Gouget : comctl32/tests: Add missing '\n's in ok() calls.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Mar 14 07:25:28 CDT 2007


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Wed Mar 14 09:17:31 2007 +0100

comctl32/tests: Add missing '\n's in ok() calls.

---

 dlls/comctl32/tests/listview.c |    8 ++++----
 dlls/comctl32/tests/tab.c      |    4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c
index 13ef0f3..3a7186b 100644
--- a/dlls/comctl32/tests/listview.c
+++ b/dlls/comctl32/tests/listview.c
@@ -794,7 +794,7 @@ static void test_icon_spacing(void)
     DWORD r;
 
     hwnd = create_custom_listview_control(LVS_ICON);
-    ok(hwnd != NULL, "failed to create a listview window");
+    ok(hwnd != NULL, "failed to create a listview window\n");
 
     flush_sequences(sequences, NUM_MSG_SEQUENCES);
 
@@ -826,7 +826,7 @@ static void test_color(void)
     COLORREF colors[4] = {RGB(0,0,0), RGB(100,50,200), CLR_NONE, RGB(255,255,255)};
 
     hwnd = create_listview_control();
-    ok(hwnd != NULL, "failed to create a listview window");
+    ok(hwnd != NULL, "failed to create a listview window\n");
 
     flush_sequences(sequences, NUM_MSG_SEQUENCES);
 
@@ -872,7 +872,7 @@ static void test_item_count(void)
     static CHAR item2text[] = "item2";
 
     hwnd = create_listview_control();
-    ok(hwnd != NULL, "failed to create a listview window");
+    ok(hwnd != NULL, "failed to create a listview window\n");
 
     flush_sequences(sequences, NUM_MSG_SEQUENCES);
 
@@ -962,7 +962,7 @@ static void test_item_position(void)
     static CHAR item2text[] = "item2";
 
     hwnd = create_custom_listview_control(LVS_ICON);
-    ok(hwnd != NULL, "failed to create a listview window");
+    ok(hwnd != NULL, "failed to create a listview window\n");
 
     flush_sequences(sequences, NUM_MSG_SEQUENCES);
 
diff --git a/dlls/comctl32/tests/tab.c b/dlls/comctl32/tests/tab.c
index 094faae..9b519d2 100644
--- a/dlls/comctl32/tests/tab.c
+++ b/dlls/comctl32/tests/tab.c
@@ -463,10 +463,10 @@ static void test_getters_setters(INT nTabs)
 
         toolTip = create_tooltip(hTab, toolTipText);
         SendMessage(hTab, TCM_SETTOOLTIPS, (LPARAM) toolTip, 0);
-        ok (toolTip == (HWND) SendMessage(hTab,TCM_GETTOOLTIPS,0,0), "ToolTip was set incorrectly.");
+        ok (toolTip == (HWND) SendMessage(hTab,TCM_GETTOOLTIPS,0,0), "ToolTip was set incorrectly.\n");
 
         SendMessage(hTab, TCM_SETTOOLTIPS, (LPARAM) NULL, 0);
-        ok (NULL  == (HWND) SendMessage(hTab,TCM_GETTOOLTIPS,0,0), "ToolTip was set incorrectly.");
+        ok (NULL  == (HWND) SendMessage(hTab,TCM_GETTOOLTIPS,0,0), "ToolTip was set incorrectly.\n");
     }
 
     DestroyWindow(hTab);




More information about the wine-cvs mailing list