wininet: Make a test pass on IE6.

This commit is contained in:
Hans Leidekker 2008-05-09 15:11:49 +02:00 committed by Alexandre Julliard
parent aec0e93d23
commit 3f795c621d
1 changed files with 3 additions and 1 deletions

View File

@ -1792,7 +1792,9 @@ static void test_bogus_accept_types_array(void)
size = sizeof(buffer);
ret = HttpQueryInfo(req, HTTP_QUERY_ACCEPT | HTTP_QUERY_FLAG_REQUEST_HEADERS, buffer, &size, NULL);
ok(ret, "HttpQueryInfo failed: %u\n", GetLastError());
ok(!strcmp(buffer, "*/*, %p, */*"), "got '%s' expected '*/*, %%p, */*'\n", buffer);
ok(!strcmp(buffer, ", */*, %p, , */*") || /* IE6 */
!strcmp(buffer, "*/*, %p, */*"),
"got '%s' expected '*/*, %%p, */*' or ', */*, %%p, , */*'\n", buffer);
InternetCloseHandle(req);
InternetCloseHandle(con);