dinput/tests: Make use of todo_wine_if().

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2016-08-05 15:59:27 +02:00 committed by Alexandre Julliard
parent 9d74567ad3
commit a516c0aa38
1 changed files with 1 additions and 6 deletions

View File

@ -123,12 +123,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] IDirectInput_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] IDirectInput_EnumDevice returned 0x%08x\n", i, hr);
}