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:
Frédéric Delanoy 2016-02-17 10:55:20 +01:00 committed by Alexandre Julliard
parent 4dba8a4e27
commit 70e2aa7fdb
1 changed files with 1 additions and 4 deletions

View File

@ -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++)