wininet: Fix a failing test in win2k.
This commit is contained in:
parent
13451c3b2a
commit
ce823a8e47
|
@ -270,7 +270,8 @@ static void test_null(void)
|
||||||
ok(hc == NULL, "connect failed\n");
|
ok(hc == NULL, "connect failed\n");
|
||||||
|
|
||||||
hc = InternetOpenUrlW(hi, NULL, NULL, 0, 0, 0);
|
hc = InternetOpenUrlW(hi, NULL, NULL, 0, 0, 0);
|
||||||
ok(GetLastError() == ERROR_INVALID_PARAMETER, "wrong error\n");
|
ok(GetLastError() == ERROR_INVALID_PARAMETER ||
|
||||||
|
GetLastError() == ERROR_INTERNET_UNRECOGNIZED_SCHEME, "wrong error\n");
|
||||||
ok(hc == NULL, "connect failed\n");
|
ok(hc == NULL, "connect failed\n");
|
||||||
|
|
||||||
hc = InternetOpenUrlW(hi, szServer, NULL, 0, 0, 0);
|
hc = InternetOpenUrlW(hi, szServer, NULL, 0, 0, 0);
|
||||||
|
|
Loading…
Reference in New Issue