Huw Davies : msxml3/tests: Fix test on win 8.

Alexandre Julliard julliard at winehq.org
Wed May 14 15:39:05 CDT 2014


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

Author: Huw Davies <huw at codeweavers.com>
Date:   Wed May 14 08:02:25 2014 +0100

msxml3/tests: Fix test on win 8.

---

 dlls/msxml3/tests/schema.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msxml3/tests/schema.c b/dlls/msxml3/tests/schema.c
index 484be86..f5d6fcd 100644
--- a/dlls/msxml3/tests/schema.c
+++ b/dlls/msxml3/tests/schema.c
@@ -1519,10 +1519,10 @@ static void test_get(void)
     if (!cache) return;
 
     hr = IXMLDOMSchemaCollection2_get(cache, NULL, NULL);
-    EXPECT_HR(hr, E_NOTIMPL);
+    ok(hr == E_NOTIMPL || hr == E_POINTER /* win8 */, "got %08x\n", hr);
 
     hr = IXMLDOMSchemaCollection2_get(cache, _bstr_("uri"), &node);
-    ok(hr == E_NOTIMPL || hr == E_POINTER /* win8 */, "got %08x\n", hr);
+    EXPECT_HR(hr, E_NOTIMPL);
 
     IXMLDOMSchemaCollection2_Release(cache);
 




More information about the wine-cvs mailing list