Commit d15a807c authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

reg/tests: Use todo_wine_if() in tests.

parent 676e6156
......@@ -72,17 +72,11 @@ static void verify_reg_(unsigned line, HKEY hkey, const char* value,
if (err != ERROR_SUCCESS)
return;
if (todo & TODO_REG_TYPE)
todo_wine lok(type == exp_type, "got wrong type %d, expected %d\n", type, exp_type);
else
todo_wine_if (todo & TODO_REG_TYPE)
lok(type == exp_type, "got wrong type %d, expected %d\n", type, exp_type);
if (todo & TODO_REG_SIZE)
todo_wine lok(size == exp_size, "got wrong size %d, expected %d\n", size, exp_size);
else
todo_wine_if (todo & TODO_REG_SIZE)
lok(size == exp_size, "got wrong size %d, expected %d\n", size, exp_size);
if (todo & TODO_REG_DATA)
todo_wine lok(memcmp(data, exp_data, size) == 0, "got wrong data\n");
else
todo_wine_if (todo & TODO_REG_DATA)
lok(memcmp(data, exp_data, size) == 0, "got wrong data\n");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment