msxml3: Only compare strings if the transform was successful.

This commit is contained in:
Alistair Leslie-Hughes 2011-09-07 20:07:28 +10:00 committed by Alexandre Julliard
parent 8fc7419120
commit 3a63aebc1c
1 changed files with 5 additions and 2 deletions

View File

@ -6978,8 +6978,11 @@ static void test_testTransforms(void)
hr = IXMLDOMDocument_transformNode(doc, pNode, &bOut);
ok(hr == S_OK, "ret %08x\n", hr );
if(hr == S_OK)
{
ok( compareIgnoreReturns( bOut, _bstr_(szTransformOutput)), "Stylesheet output not correct\n");
SysFreeString(bOut);
}
IXMLDOMNode_Release(pNode);
}