winhttp/tests: Fix a test failure on some W2K/XP systems.
This commit is contained in:
parent
43f36486e4
commit
47535030cc
|
@ -942,7 +942,8 @@ static void test_set_default_proxy_config(void)
|
|||
info.lpszProxy = wideString;
|
||||
SetLastError(0xdeadbeef);
|
||||
ret = WinHttpSetDefaultProxyConfiguration(&info);
|
||||
ok(!ret && GetLastError() == ERROR_INVALID_PARAMETER,
|
||||
ok((!ret && GetLastError() == ERROR_INVALID_PARAMETER) ||
|
||||
broken(ret), /* Earlier winhttp versions on W2K/XP */
|
||||
"expected ERROR_INVALID_PARAMETER, got %d\n", GetLastError());
|
||||
|
||||
info.lpszProxy = normalString;
|
||||
|
|
Loading…
Reference in New Issue