Module: wine Branch: master Commit: 6c7720e2ce3b3bc9a06a0a9bb8f4735fa6b16cde URL: http://source.winehq.org/git/wine.git/?a=commit;h=6c7720e2ce3b3bc9a06a0a9bb8...
Author: Nicolas Le Cam niko.lecam@gmail.com Date: Tue Oct 28 00:34:22 2008 +0100
wininet/tests: Fix a failing test on IE6.
---
dlls/wininet/tests/http.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wininet/tests/http.c b/dlls/wininet/tests/http.c index 1c686c8..01471ac 100644 --- a/dlls/wininet/tests/http.c +++ b/dlls/wininet/tests/http.c @@ -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);