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

Alexandre Julliard julliard at wine.codeweavers.com
Fri Feb 16 07:08:37 CST 2007


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Thu Feb 15 22:37:53 2007 +0100

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

---

 dlls/comctl32/tests/trackbar.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dlls/comctl32/tests/trackbar.c b/dlls/comctl32/tests/trackbar.c
index cb7e973..337046b 100644
--- a/dlls/comctl32/tests/trackbar.c
+++ b/dlls/comctl32/tests/trackbar.c
@@ -46,7 +46,7 @@ static void test_trackbar_control(void)
 
     hWndTrackbar = create_trackbar(style);
 
-    ok(hWndTrackbar != NULL, "Expected non NULL value");
+    ok(hWndTrackbar != NULL, "Expected non NULL value\n");
 
     if (hWndTrackbar == NULL){
       skip("trackbar control not present?\n");
@@ -58,7 +58,7 @@ static void test_trackbar_control(void)
     /* test TBM_SETBUDDY */
     hWndLeftBuddy = (HWND) CreateWindowEx(0, STATUSCLASSNAME, NULL, 0,
         0,0,300,20, NULL, NULL, NULL, NULL);
-    ok(hWndLeftBuddy != NULL, "Expected non NULL value");
+    ok(hWndLeftBuddy != NULL, "Expected non NULL value\n");
 
     if (hWndLeftBuddy != NULL){
         hWndCurrentBuddy = (HWND) SendMessage(hWndTrackbar, TBM_GETBUDDY, TRUE, 0);
@@ -72,7 +72,7 @@ static void test_trackbar_control(void)
     hWndRightBuddy = (HWND) CreateWindowEx(0, STATUSCLASSNAME, NULL, 0,
         0,0,300,20,NULL,NULL, NULL, NULL);
 
-    ok(hWndRightBuddy != NULL, "expected non NULL value");
+    ok(hWndRightBuddy != NULL, "expected non NULL value\n");
 
     if (hWndRightBuddy != NULL){
         hWndCurrentBuddy = (HWND) SendMessage(hWndTrackbar, TBM_GETBUDDY, TRUE, 0);
@@ -335,7 +335,7 @@ static void test_trackbar_control(void)
     if (hWndTooltip != NULL){
         SendMessage(hWndTrackbar, TBM_SETTOOLTIPS, (LPARAM) hWndTooltip, 0);
         rTest = (HWND) SendMessage(hWndTrackbar, TBM_GETTOOLTIPS, 0,0);
-        ok(rTest == hWndTooltip, "Expected hWndToolTip, got \n");
+        ok(rTest == hWndTooltip, "Expected hWndToolTip, got\n");
         SendMessage(hWndTrackbar, TBM_SETTOOLTIPS, (LPARAM) NULL, 0);
         rTest = (HWND) SendMessage(hWndTrackbar, TBM_GETTOOLTIPS, 0,0);
         ok(rTest == NULL, "Expected NULL\n");
@@ -364,7 +364,7 @@ static void test_trackbar_control(void)
     /* test getters and setters without styles set */
     hWndTrackbar = create_trackbar(0);
 
-    ok(hWndTrackbar != NULL, "Expected non NULL value");
+    ok(hWndTrackbar != NULL, "Expected non NULL value\n");
 
     if (hWndTrackbar == NULL){
       skip("trackbar control not present?\n");




More information about the wine-cvs mailing list