Commit e2cf7823 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msxml3/tests: Use exact comparison in IXMLDOMNode::get_text tests.

parent 028d5e51
...@@ -3138,8 +3138,7 @@ static void test_get_text(void) ...@@ -3138,8 +3138,7 @@ static void test_get_text(void)
{ {
r = IXMLDOMNode_get_text( nodeRoot, &str ); r = IXMLDOMNode_get_text( nodeRoot, &str );
ok( r == S_OK, "ret %08x\n", r ); ok( r == S_OK, "ret %08x\n", r );
ok( compareIgnoreReturns(str, _bstr_("fn1.txt\n\n fn2.txt \n\nf1\n")), "wrong get_text: %s\n", wine_dbgstr_w(str)); expect_bstr_eq_and_free(str, "fn1.txt\n \nfn2.txt\n \nf1");
SysFreeString(str);
IXMLDOMNode_Release(nodeRoot); IXMLDOMNode_Release(nodeRoot);
} }
......
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