wbemprox/tests: Use todo_wine_if() in tests

André Hentschel nerv at dawncrow.de
Fri Feb 19 16:12:13 CST 2016


Signed-off-by: André Hentschel <nerv at dawncrow.de>
---
 dlls/wbemprox/tests/services.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dlls/wbemprox/tests/services.c b/dlls/wbemprox/tests/services.c
index 4c42a50..a6774751 100644
--- a/dlls/wbemprox/tests/services.c
+++ b/dlls/wbemprox/tests/services.c
@@ -168,10 +168,7 @@ static void test_IWbemLocator(void)
     {
         resource = SysAllocString( test[i].path );
         hr = IWbemLocator_ConnectServer( locator, resource, NULL, NULL, NULL, 0, NULL, NULL, &services );
-        if (test[i].todo) todo_wine
-            ok( hr == test[i].result || broken(hr == test[i].result_broken),
-                "%u: expected %08x got %08x\n", i, test[i].result, hr );
-        else
+        todo_wine_if (test[i].todo)
             ok( hr == test[i].result || broken(hr == test[i].result_broken),
                 "%u: expected %08x got %08x\n", i, test[i].result, hr );
         SysFreeString( resource );
-- 
1.9.1





More information about the wine-patches mailing list