diff --git a/rostests/winetests/imagehlp/image.c b/rostests/winetests/imagehlp/image.c index 1d31b0676af..2be9b0c0b66 100644 --- a/rostests/winetests/imagehlp/image.c +++ b/rostests/winetests/imagehlp/image.c @@ -190,10 +190,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++)