Commit 256ce911 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

msxml3/tests: Use SUCCEEDED instead of !FAILED.

parent 16387484
...@@ -283,7 +283,7 @@ static int get_node_position(IXMLDOMNode *node) ...@@ -283,7 +283,7 @@ static int get_node_position(IXMLDOMNode *node)
pos++; pos++;
r = IXMLDOMNode_get_previousSibling(node, &new_node); r = IXMLDOMNode_get_previousSibling(node, &new_node);
ok(!FAILED(r), "get_previousSibling failed\n"); ok(SUCCEEDED(r), "get_previousSibling failed\n");
IXMLDOMNode_Release(node); IXMLDOMNode_Release(node);
node = new_node; node = new_node;
} while (r == S_OK); } while (r == S_OK);
...@@ -341,7 +341,7 @@ static void node_to_string(IXMLDOMNode *node, char *buf) ...@@ -341,7 +341,7 @@ static void node_to_string(IXMLDOMNode *node, char *buf)
buf += strlen(buf); buf += strlen(buf);
} }
ok(!FAILED(r), "get_parentNode failed (%08x)\n", r); ok(SUCCEEDED(r), "get_parentNode failed (%08x)\n", r);
IXMLDOMNode_Release(node); IXMLDOMNode_Release(node);
node = new_node; node = new_node;
if (r == S_OK) if (r == S_OK)
......
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