From 12f8274539f8674f83b65232afd6668a257ae4c6 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Fri, 5 Aug 2016 15:59:55 +0200 Subject: [PATCH] dinput8/tests: Make use of todo_wine_if(). Signed-off-by: Michael Stefaniuc Signed-off-by: Alexandre Julliard --- dlls/dinput8/tests/dinput.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dlls/dinput8/tests/dinput.c b/dlls/dinput8/tests/dinput.c index c3f80c67305..09847672880 100644 --- a/dlls/dinput8/tests/dinput.c +++ b/dlls/dinput8/tests/dinput.c @@ -99,12 +99,7 @@ static void test_preinitialization(void) enum_devices_tests[i].lpCallback, NULL, enum_devices_tests[i].dwFlags); - if (enum_devices_tests[i].todo) - { - todo_wine - ok(hr == enum_devices_tests[i].expected_hr, "[%d] IDirectInput8_EnumDevice returned 0x%08x\n", i, hr); - } - else + todo_wine_if(enum_devices_tests[i].todo) ok(hr == enum_devices_tests[i].expected_hr, "[%d] IDirectInput8_EnumDevice returned 0x%08x\n", i, hr); }