Commit 669a1b35 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

wininet/tests: Improve error reporting in a couple of tests.

parent b8e3cee7
......@@ -2114,7 +2114,7 @@ static void test_proxy_indirect(int port)
ok(hr != NULL, "HttpOpenRequest failed\n");
r = HttpSendRequest(hr, NULL, 0, NULL, 0);
ok(r, "HttpSendRequest failed\n");
ok(r, "HttpSendRequest failed %u\n", GetLastError());
sz = sizeof buffer;
r = HttpQueryInfo(hr, HTTP_QUERY_PROXY_AUTHENTICATE, buffer, &sz, NULL);
......@@ -2181,7 +2181,7 @@ static void test_proxy_direct(int port)
ok(hr != NULL, "HttpOpenRequest failed\n");
r = HttpSendRequest(hr, NULL, 0, NULL, 0);
ok(r, "HttpSendRequest failed\n");
ok(r, "HttpSendRequest failed %u\n", GetLastError());
test_status_code(hr, 407);
......@@ -2401,7 +2401,7 @@ static void test_proxy_direct(int port)
ok(sz == lstrlenW(passwordW), "got %u\n", sz);
r = HttpSendRequest(hr, NULL, 0, NULL, 0);
ok(r, "HttpSendRequest failed\n");
ok(r, "HttpSendRequest failed %u\n", GetLastError());
sz = sizeof buffer;
r = HttpQueryInfo(hr, HTTP_QUERY_STATUS_CODE, buffer, &sz, NULL);
ok(r, "HttpQueryInfo failed\n");
......
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