Andrey Gusev : winhttp/tests: Fix typos in ok() messages.

Alexandre Julliard julliard at winehq.org
Fri Dec 22 11:15:05 CST 2017


Module: wine
Branch: master
Commit: 72052ca6c7c442e7059123a9154a361673f0dbba
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=72052ca6c7c442e7059123a9154a361673f0dbba

Author: Andrey Gusev <andrey.goosev at gmail.com>
Date:   Fri Dec 22 17:25:28 2017 +0200

winhttp/tests: Fix typos in ok() messages.

Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winhttp/tests/notification.c | 2 +-
 dlls/winhttp/tests/winhttp.c      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/winhttp/tests/notification.c b/dlls/winhttp/tests/notification.c
index 702c6a1..da8f8e9 100644
--- a/dlls/winhttp/tests/notification.c
+++ b/dlls/winhttp/tests/notification.c
@@ -944,7 +944,7 @@ static void _read_request_data(struct test_request *req, struct info *info, cons
     WaitForSingleObject( info->wait, INFINITE );
 
     len = strlen(expected_data);
-    ok(!memcmp(buffer, expected_data, len), "unexpeceted data\n");
+    ok(!memcmp(buffer, expected_data, len), "unexpected data\n");
 }
 
 static void test_persistent_connection(int port)
diff --git a/dlls/winhttp/tests/winhttp.c b/dlls/winhttp/tests/winhttp.c
index 469b882..ec33b56 100644
--- a/dlls/winhttp/tests/winhttp.c
+++ b/dlls/winhttp/tests/winhttp.c
@@ -568,7 +568,7 @@ static void test_WinHttpAddHeaders(void)
     SetLastError(0xdeadbeef);
     ret = WinHttpAddRequestHeaders(request, test_headers[0], -1L, WINHTTP_ADDREQ_FLAG_ADD);
     err = GetLastError();
-    ok(ret, "WinHttpAddRequestHeader failed to add new header, got %d with error %u.\n", ret, err);
+    ok(ret, "WinHttpAddRequestHeaders failed to add new header, got %d with error %u.\n", ret, err);
     ok(err == ERROR_SUCCESS || broken(err == 0xdeadbeef) /* < win7 */, "got %u\n", err);
 
     index = 0;




More information about the wine-cvs mailing list