Commit 3f795c62 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

wininet: Make a test pass on IE6.

parent aec0e93d
......@@ -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);
......
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