Francois Gouget : twain_32/tests: Add a trailing '\n' to ok() calls.

Alexandre Julliard julliard at winehq.org
Thu Feb 5 09:21:02 CST 2009


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Thu Feb  5 00:10:29 2009 +0100

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

---

 dlls/twain_32/tests/dsm.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/twain_32/tests/dsm.c b/dlls/twain_32/tests/dsm.c
index 8f8e926..78b4c85 100644
--- a/dlls/twain_32/tests/dsm.c
+++ b/dlls/twain_32/tests/dsm.c
@@ -180,7 +180,7 @@ static void test_onevalue_cap(TW_IDENTITY *appid, TW_IDENTITY *source, TW_UINT16
             "Error [rc %d|cc %d] doing MSG_QUERYSUPPORT for type 0x%x\n", rc, status.ConditionCode, captype);
     if (rc != TWRC_SUCCESS)
         return;
-    ok(get_onevalue(cap.hContainer, (TW_UINT32 *) &actual_support, NULL), "Returned cap.hContainer invalid for QuerySupport on type 0x%x", captype);
+    ok(get_onevalue(cap.hContainer, (TW_UINT32 *) &actual_support, NULL), "Returned cap.hContainer invalid for QuerySupport on type 0x%x\n", captype);
     ok(actual_support == expected_support,
             "Error:  expected support 0x%x for type 0x%x, got 0x%x\n", expected_support,
             captype, actual_support);
@@ -198,7 +198,7 @@ static void test_onevalue_cap(TW_IDENTITY *appid, TW_IDENTITY *source, TW_UINT16
                 "Error [rc %d|cc %d] doing MSG_GETCURRENT for type 0x%x\n", rc, status.ConditionCode, captype);
         if (rc == TWRC_SUCCESS)
         {
-            ok(get_onevalue(cap.hContainer, &orig_value, &rtype), "Returned cap.hContainer invalid for GETCURRENT on type 0x%x", captype);
+            ok(get_onevalue(cap.hContainer, &orig_value, &rtype), "Returned cap.hContainer invalid for GETCURRENT on type 0x%x\n", captype);
             ok(rtype == type, "Returned GETCURRENT type 0x%x for cap 0x%x is not expected 0x%x\n", rtype, captype, type);
             GlobalFree(cap.hContainer);
         }
@@ -216,7 +216,7 @@ static void test_onevalue_cap(TW_IDENTITY *appid, TW_IDENTITY *source, TW_UINT16
                 "Error [rc %d|cc %d] doing MSG_GETDEFAULT for type 0x%x\n", rc, status.ConditionCode, captype);
         if (rc == TWRC_SUCCESS)
         {
-            ok(get_onevalue(cap.hContainer, &default_value, &rtype), "Returned cap.hContainer invalid for GETDEFAULT on type 0x%x", captype);
+            ok(get_onevalue(cap.hContainer, &default_value, &rtype), "Returned cap.hContainer invalid for GETDEFAULT on type 0x%x\n", captype);
             ok(rtype == type, "Returned GETDEFAULT type 0x%x for cap 0x%x is not expected 0x%x\n", rtype, captype, type);
             GlobalFree(cap.hContainer);
         }




More information about the wine-cvs mailing list