Commit 70e2aa7f authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

imagehlp/tests: Use todo_wine_if() in tests.

parent 4dba8a4e
......@@ -186,10 +186,7 @@ static void check_updates(LPCSTR header, const struct expected_update_accum *exp
{
DWORD i;
if (expected->todo)
todo_wine ok(expected->cUpdates == got->cUpdates, "%s: expected %d updates, got %d\n",
header, expected->cUpdates, got->cUpdates);
else
todo_wine_if (expected->todo)
ok(expected->cUpdates == got->cUpdates, "%s: expected %d updates, got %d\n",
header, expected->cUpdates, got->cUpdates);
for (i = 0; i < min(expected->cUpdates, got->cUpdates); i++)
......
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