wininet/tests: Fix a failing test on IE6.

This commit is contained in:
Nicolas Le Cam 2008-10-28 00:34:22 +01:00 committed by Alexandre Julliard
parent fe256f99d3
commit 6c7720e2ce

View file

@ -1979,9 +1979,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, , */*") || /* IE6 */
ok(!strcmp(buffer, ", */*, %p, , , */*") || /* IE6 */
!strcmp(buffer, "*/*, %p, */*"),
"got '%s' expected '*/*, %%p, */*' or ', */*, %%p, , */*'\n", buffer);
"got '%s' expected '*/*, %%p, */*' or ', */*, %%p, , , */*'\n", buffer);
InternetCloseHandle(req);
InternetCloseHandle(con);