Commit 1caf6286 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

msxml3/tests: Actually test the return values (PVS-Studio).

parent fe614000
......@@ -11085,6 +11085,7 @@ static void test_xmlns_attribute(void)
V_VT(&v) = VT_BSTR;
V_BSTR(&v) = _bstr_("urn:schemas-microsoft-com:datatypes");
hr = IXMLDOMAttribute_put_nodeValue(pAttribute, v);
ok(hr == S_OK, "ret %08x\n", hr );
hr = IXMLDOMElement_setAttributeNode(root, pAttribute, NULL);
ok(hr == S_OK, "ret %08x\n", hr );
......
......@@ -1292,6 +1292,7 @@ static void test_XDR_datatypes(void)
VariantClear(&type);
hr = IXMLDOMNode_get_nodeTypedValue(node, &type);
EXPECT_HR(hr, S_OK);
ok(V_VT(&type) == VT_BSTR, "got variant type %i\n", V_VT(&v));
VariantClear(&type);
IXMLDOMNode_Release(node);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment