msxml3/tests: Fix test on win 8.

Huw Davies huw at codeweavers.com
Wed May 14 02:02:25 CDT 2014


---
There was a copy-paste error in my patch from yesterday, sorry about that.

 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);
 
-- 
1.8.0




More information about the wine-patches mailing list