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

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2015-12-21 11:41:30 +01:00 committed by Alexandre Julliard
parent 028d5e5179
commit e2cf78232d
1 changed files with 1 additions and 2 deletions

View File

@ -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);
} }