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

Francois Gouget fgouget at free.fr
Wed Mar 14 03:17:31 CDT 2007


---
 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 593ff3f..cff9610 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);
-- 
1.4.4.4




More information about the wine-patches mailing list