wmiutils/tests: Use todo_wine_if() in tests.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2016-02-17 02:12:44 +03:00 committed by Alexandre Julliard
parent 944a0228f5
commit fd00c9db5a
1 changed files with 2 additions and 2 deletions

View File

@ -140,8 +140,8 @@ static void test_IWbemPath_SetText(void)
for (i = 0; i < sizeof(test)/sizeof(test[0]); i++)
{
hr = IWbemPath_SetText( path, test[i].mode, test[i].path );
if (test[i].todo) todo_wine ok( hr == test[i].ret, "%u got %08x\n", i, hr );
else ok( hr == test[i].ret, "%u got %08x\n", i, hr );
todo_wine_if (test[i].todo)
ok( hr == test[i].ret, "%u got %08x\n", i, hr );
if (test[i].ret == S_OK)
{