mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:13:56 +00:00
msxml3/tests: Prevent crash in saxreader tests.
This commit is contained in:
parent
9ec291500b
commit
ace8b53418
1 changed files with 1 additions and 1 deletions
|
@ -1714,7 +1714,7 @@ static void test_mxwriter_encoding(void)
|
|||
hr = IMXWriter_get_output(writer, &dest);
|
||||
todo_wine ok(hr == S_OK, "get_output failed: %08x\n", hr);
|
||||
todo_wine ok(V_VT(&dest) == VT_BSTR, "Expected VT_BSTR, got %d\n", V_VT(&dest));
|
||||
todo_wine ok(!lstrcmpW(_bstr_("<?xml version=\"1.0\" encoding=\"UTF-16\" standalone=\"no\"?>\r\n"), V_BSTR(&dest)),
|
||||
if (V_VT(&dest) == VT_BSTR) todo_wine ok(!lstrcmpW(_bstr_("<?xml version=\"1.0\" encoding=\"UTF-16\" standalone=\"no\"?>\r\n"), V_BSTR(&dest)),
|
||||
"got wrong content: %s\n", wine_dbgstr_w(V_BSTR(&dest)));
|
||||
VariantClear(&dest);
|
||||
|
||||
|
|
Loading…
Reference in a new issue