msxml3/tests: make sure return value is used (LLVM/Clang)

Austin English austinenglish at gmail.com
Wed Feb 9 15:43:41 CST 2011


-- 
-Austin
-------------- next part --------------
diff --git a/dlls/msxml3/tests/xmldoc.c b/dlls/msxml3/tests/xmldoc.c
index bc7422d..c70c9eb 100644
--- a/dlls/msxml3/tests/xmldoc.c
+++ b/dlls/msxml3/tests/xmldoc.c
@@ -433,6 +433,7 @@ static void test_persiststreaminit(void)
     hr = IXMLDocument_get_root(doc, &element);
     ok(hr == S_OK, "Expected S_OK, got %08x\n", hr);
     hr = IXMLElement_put_text(element, str);
+    ok(hr == E_NOTIMPL, "Expected E_NOTIMPL, got %08x\n", hr);
     IXMLElement_Release(element);
     SysFreeString(str);
 


More information about the wine-patches mailing list