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

Alexandre Julliard julliard at winehq.org
Thu Jan 4 17:03:21 CST 2018


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Thu Jan  4 15:58:40 2018 +0100

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

Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mlang/tests/mlang.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/mlang/tests/mlang.c b/dlls/mlang/tests/mlang.c
index 9727b4f..bcb2fd0 100644
--- a/dlls/mlang/tests/mlang.c
+++ b/dlls/mlang/tests/mlang.c
@@ -2683,12 +2683,12 @@ static void test_MapFont(IMLangFontLink *font_link, IMLangFontLink2 *font_link2)
     ok(ret == S_OK, "MapFont() failed, hr %#x.\n", ret);
     ret = IMLangFontLink2_MapFont(font_link2, hdc, codepages, 0, &font2);
     ok(ret == S_OK, "MapFont() failed, hr %#x.\n", ret);
-    ok(font1 != NULL && font2 != NULL, "expected !NULL/!NULL, got %p/%p", font1, font2);
-    ok(font1 == font2, "expected equal, got not equal");
+    ok(font1 != NULL && font2 != NULL, "expected !NULL/!NULL, got %p/%p\n", font1, font2);
+    ok(font1 == font2, "expected equal, got not equal\n");
 
     IMLangFontLink_GetFontCodePages(font_link, hdc, font1, &font_codepages);
     ok((codepages & (~font_codepages)) != 0 && (codepages & font_codepages) != 0,
-       "code pages of font is incorrect");
+       "code pages of font is incorrect\n");
 
     IMLangFontLink_ResetFontMapping(font_link);
     IMLangFontLink2_ResetFontMapping(font_link2);




More information about the wine-cvs mailing list