[PATCH] wmiutils/tests: Use todo_wine_if() in tests
Nikolay Sivov
nsivov at codeweavers.com
Tue Feb 16 17:12:44 CST 2016
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/wmiutils/tests/path.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wmiutils/tests/path.c b/dlls/wmiutils/tests/path.c
index 56bebb3..99907a3 100644
--- a/dlls/wmiutils/tests/path.c
+++ b/dlls/wmiutils/tests/path.c
@@ -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)
{
--
2.7.0
More information about the wine-patches
mailing list