msxml3: Only compare strings if the transform was successful.
This commit is contained in:
parent
8fc7419120
commit
3a63aebc1c
|
@ -6978,8 +6978,11 @@ static void test_testTransforms(void)
|
|||
|
||||
hr = IXMLDOMDocument_transformNode(doc, pNode, &bOut);
|
||||
ok(hr == S_OK, "ret %08x\n", hr );
|
||||
ok( compareIgnoreReturns( bOut, _bstr_(szTransformOutput)), "Stylesheet output not correct\n");
|
||||
SysFreeString(bOut);
|
||||
if(hr == S_OK)
|
||||
{
|
||||
ok( compareIgnoreReturns( bOut, _bstr_(szTransformOutput)), "Stylesheet output not correct\n");
|
||||
SysFreeString(bOut);
|
||||
}
|
||||
|
||||
IXMLDOMNode_Release(pNode);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue