Commit 1b06662f authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

wininet/tests: Use todo_wine_if() in tests.

parent fd00c9db
......@@ -1503,16 +1503,12 @@ static void test_InternetErrorDlg(void)
default: break;
}
if(test_flags & FLAG_TODO)
todo_wine ok(res == expected, "Got %d, expected %d (%d)\n", res, expected, i);
else
todo_wine_if(test_flags & FLAG_TODO)
ok(res == expected, "Got %d, expected %d (%d)\n", res, expected, i);
/* Same thing with NULL hwnd */
res = InternetErrorDlg(NULL, req, i, flags, NULL);
if(test_flags & FLAG_TODO)
todo_wine ok(res == expected, "Got %d, expected %d (%d)\n", res, expected, i);
else
todo_wine_if(test_flags & FLAG_TODO)
ok(res == expected, "Got %d, expected %d (%d)\n", res, expected, i);
......@@ -1521,9 +1517,7 @@ static void test_InternetErrorDlg(void)
expected = ERROR_INVALID_PARAMETER;
res = InternetErrorDlg(hwnd, NULL, i, flags, NULL);
if( test_flags & FLAG_TODO || i == ERROR_INTERNET_INCORRECT_PASSWORD)
todo_wine ok(res == expected, "Got %d, expected %d (%d)\n", res, expected, i);
else
todo_wine_if( test_flags & FLAG_TODO || i == ERROR_INTERNET_INCORRECT_PASSWORD)
ok(res == expected, "Got %d, expected %d (%d)\n", res, expected, i);
}
......
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