Commit bcfd32ed authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

urlmon/tests: Work around broken Win10 in test_CoInternetCombineUrlEx.

The exact same workaround was already being used in test_CoInternetCombineIUri. Signed-off-by: 's avatarAlex Henrie <alexhenrie24@gmail.com> Signed-off-by: 's avatarJacek Caban <jacek@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 13ea90d8
......@@ -10899,10 +10899,11 @@ static void test_CoInternetCombineUrlEx(void) {
hr = pCoInternetCombineUrlEx(base, relativeW, uri_combine_tests[i].combine_flags,
&result, 0);
todo_wine_if(uri_combine_tests[i].todo)
ok(hr == uri_combine_tests[i].expected,
ok(hr == uri_combine_tests[i].expected ||
broken(hr == S_OK && uri_combine_tests[i].expected == E_INVALIDARG) /* win10 1607 to 1709 */,
"Error: CoInternetCombineUrlEx returned 0x%08x, expected 0x%08x on uri_combine_tests[%d].\n",
hr, uri_combine_tests[i]. expected, i);
if(SUCCEEDED(hr)) {
if(SUCCEEDED(hr) && SUCCEEDED(uri_combine_tests[i].expected)) {
DWORD j;
for(j = 0; j < ARRAY_SIZE(uri_combine_tests[i].str_props); ++j) {
......
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