Commit 72052ca6 authored by Andrey Gusev's avatar Andrey Gusev Committed by Alexandre Julliard

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

parent d91985b2
...@@ -944,7 +944,7 @@ static void _read_request_data(struct test_request *req, struct info *info, cons ...@@ -944,7 +944,7 @@ static void _read_request_data(struct test_request *req, struct info *info, cons
WaitForSingleObject( info->wait, INFINITE ); WaitForSingleObject( info->wait, INFINITE );
len = strlen(expected_data); 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) static void test_persistent_connection(int port)
......
...@@ -568,7 +568,7 @@ static void test_WinHttpAddHeaders(void) ...@@ -568,7 +568,7 @@ static void test_WinHttpAddHeaders(void)
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
ret = WinHttpAddRequestHeaders(request, test_headers[0], -1L, WINHTTP_ADDREQ_FLAG_ADD); ret = WinHttpAddRequestHeaders(request, test_headers[0], -1L, WINHTTP_ADDREQ_FLAG_ADD);
err = GetLastError(); 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); ok(err == ERROR_SUCCESS || broken(err == 0xdeadbeef) /* < win7 */, "got %u\n", err);
index = 0; index = 0;
......
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