imagehlp/tests: Use todo_wine_if() in tests.
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4dba8a4e27
commit
70e2aa7fdb
|
@ -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++)
|
||||
|
|
Loading…
Reference in New Issue