Commit cdda92fc authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msxml3/tests: Simplify a couple of tests using todo_wine_if().

parent 780ebcc7
...@@ -2867,9 +2867,7 @@ static void test_saxreader_encoding(void) ...@@ -2867,9 +2867,7 @@ static void test_saxreader_encoding(void)
CloseHandle(file); CloseHandle(file);
hr = ISAXXMLReader_parseURL(reader, testXmlW); hr = ISAXXMLReader_parseURL(reader, testXmlW);
if (entry->todo) todo_wine_if(entry->todo)
todo_wine ok(hr == entry->hr, "Expected 0x%08x, got 0x%08x. CLSID %s\n", entry->hr, hr, entry->clsid);
else
ok(hr == entry->hr, "Expected 0x%08x, got 0x%08x. CLSID %s\n", entry->hr, hr, entry->clsid); ok(hr == entry->hr, "Expected 0x%08x, got 0x%08x. CLSID %s\n", entry->hr, hr, entry->clsid);
DeleteFileA(testXmlA); DeleteFileA(testXmlA);
......
...@@ -1322,10 +1322,7 @@ static void test_XDR_datatypes(void) ...@@ -1322,10 +1322,7 @@ static void test_XDR_datatypes(void)
hr = IXMLDOMNode_get_nodeTypedValue(node, &v); hr = IXMLDOMNode_get_nodeTypedValue(node, &v);
EXPECT_HR(hr, S_OK); EXPECT_HR(hr, S_OK);
if (ptr->todo) todo_wine_if(ptr->todo)
todo_wine
ok(V_VT(&v) == ptr->type_schema, "%s: got variant type %i\n", ptr->query, V_VT(&v));
else
ok(V_VT(&v) == ptr->type_schema, "%s: got variant type %i\n", ptr->query, V_VT(&v)); ok(V_VT(&v) == ptr->type_schema, "%s: got variant type %i\n", ptr->query, V_VT(&v));
switch (ptr->type_schema) switch (ptr->type_schema)
......
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