wininet: Fix a failing test in win2k.

This commit is contained in:
James Hawkins 2008-07-01 01:00:51 -05:00 committed by Alexandre Julliard
parent 13451c3b2a
commit ce823a8e47
1 changed files with 2 additions and 1 deletions

View File

@ -270,7 +270,8 @@ static void test_null(void)
ok(hc == NULL, "connect failed\n");
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");
hc = InternetOpenUrlW(hi, szServer, NULL, 0, 0, 0);