Jacek Caban : mshtml: Make listStyle tests less strict about value order.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Sep 19 13:18:31 CDT 2014


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Fri Sep 19 13:19:47 2014 +0200

mshtml: Make listStyle tests less strict about value order.

---

 dlls/mshtml/tests/style.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/mshtml/tests/style.c b/dlls/mshtml/tests/style.c
index d8c86b1..ed9338d 100644
--- a/dlls/mshtml/tests/style.c
+++ b/dlls/mshtml/tests/style.c
@@ -2351,7 +2351,7 @@ static void test_body_style(IHTMLStyle *style)
     if (hres != E_INVALIDARG) {
         hres = IHTMLStyle_get_listStyle(style, &str);
         ok(hres == S_OK, "get_listStyle failed: %08x\n", hres);
-        ok(strstr_wa(str, "decimal-leading-zero") == str &&
+        ok(strstr_wa(str, "decimal-leading-zero") &&
            strstr_wa(str, "none") != NULL &&
            strstr_wa(str, "inside") != NULL,
             "listStyle = %s\n", wine_dbgstr_w(str));




More information about the wine-cvs mailing list