Hadrien Boizard : mshtml/tests: Use todo_wine_if() in tests.

Alexandre Julliard julliard at winehq.org
Wed May 25 10:41:09 CDT 2016


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

Author: Hadrien Boizard <h.boizard at laposte.net>
Date:   Fri May 20 19:15:06 2016 +0200

mshtml/tests: Use todo_wine_if() in tests.

Signed-off-by: Hadrien Boizard <h.boizard at laposte.net>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mshtml/tests/htmldoc.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dlls/mshtml/tests/htmldoc.c b/dlls/mshtml/tests/htmldoc.c
index 904322e..5079dc9 100644
--- a/dlls/mshtml/tests/htmldoc.c
+++ b/dlls/mshtml/tests/htmldoc.c
@@ -5830,9 +5830,7 @@ static void test_download(DWORD flags)
         if(!(flags & DWL_FROM_HISTORY))
             todo_wine CHECK_CALLED(OnChanged_1012);
         todo_wine CHECK_CALLED(Exec_HTTPEQUIV);
-        if(!(flags & DWL_REFRESH))
-            todo_wine CHECK_CALLED(Exec_SETTITLE);
-        else
+        todo_wine_if(!(flags & DWL_REFRESH))
             CHECK_CALLED(Exec_SETTITLE);
     }
     if(!is_js) {




More information about the wine-cvs mailing list