Paul Vriens : wininet/tests: Fix a few typos.
Alexandre Julliard
julliard at winehq.org
Wed Jun 3 09:31:13 CDT 2009
Module: wine
Branch: master
Commit: 094cc84ed27e782e30a9b36a7e10a15b26b85642
URL: http://source.winehq.org/git/wine.git/?a=commit;h=094cc84ed27e782e30a9b36a7e10a15b26b85642
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Tue Jun 2 20:31:43 2009 +0200
wininet/tests: Fix a few typos.
---
dlls/wininet/tests/http.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/wininet/tests/http.c b/dlls/wininet/tests/http.c
index 62b158c..7aa3575 100644
--- a/dlls/wininet/tests/http.c
+++ b/dlls/wininet/tests/http.c
@@ -1111,7 +1111,7 @@ static void test_http_cache(void)
size = sizeof(url);
ret = InternetQueryOptionA(request, INTERNET_OPTION_URL, url, &size);
- ok(ret, "InternetQueryOptionA(INTERNET_OPTION_url) failed: %u\n", GetLastError());
+ ok(ret, "InternetQueryOptionA(INTERNET_OPTION_URL) failed: %u\n", GetLastError());
ok(!strcmp(url, "http://test.winehq.org/hello.html"), "Wrong URL %s\n", url);
size = sizeof(file_name);
@@ -1146,7 +1146,7 @@ static void test_http_cache(void)
file = CreateFile(file_name, GENERIC_READ, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL, NULL);
- todo_wine ok(file != INVALID_HANDLE_VALUE, "CreateFile succeeded\n");
+ todo_wine ok(file != INVALID_HANDLE_VALUE, "Could not create file: %u\n", GetLastError());
CloseHandle(file);
request = HttpOpenRequestA(connect, NULL, "/", NULL, NULL, types, INTERNET_FLAG_NO_CACHE_WRITE, 0);
@@ -1167,7 +1167,7 @@ static void test_http_cache(void)
file = CreateFile(file_name, GENERIC_READ, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL, NULL);
- todo_wine ok(file != INVALID_HANDLE_VALUE, "CreateFile succeeded\n");
+ todo_wine ok(file != INVALID_HANDLE_VALUE, "Could not create file: %u\n", GetLastError());
CloseHandle(file);
ok(InternetCloseHandle(request), "Close request handle failed\n");
More information about the wine-cvs
mailing list