Nicolas Le Cam : wininet/tests: Fix a failing test on IE6.

Alexandre Julliard julliard at winehq.org
Tue Oct 28 10:02:31 CDT 2008


Module: wine
Branch: master
Commit: 6c7720e2ce3b3bc9a06a0a9bb8f4735fa6b16cde
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6c7720e2ce3b3bc9a06a0a9bb8f4735fa6b16cde

Author: Nicolas Le Cam <niko.lecam at 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);




More information about the wine-cvs mailing list