imagehlp/tests: Use todo_wine_if() in tests
Frédéric Delanoy
frederic.delanoy at gmail.com
Wed Feb 17 03:55:20 CST 2016
Signed-off-by: Frédéric Delanoy <frederic.delanoy at gmail.com>
---
dlls/imagehlp/tests/image.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/dlls/imagehlp/tests/image.c b/dlls/imagehlp/tests/image.c
index 48443f5..3416c10 100644
--- a/dlls/imagehlp/tests/image.c
+++ b/dlls/imagehlp/tests/image.c
@@ -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++)
--
2.7.1
More information about the wine-patches
mailing list