Francois Gouget : winhttp/tests: Fix the spelling of ok() and skip() messages and a comment.

Alexandre Julliard julliard at winehq.org
Mon Dec 9 16:57:37 CST 2019


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Dec  9 09:46:50 2019 +0100

winhttp/tests: Fix the spelling of ok() and skip() messages and a comment.

Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winhttp/tests/winhttp.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/winhttp/tests/winhttp.c b/dlls/winhttp/tests/winhttp.c
index 6a8d496238..e4c614cb10 100644
--- a/dlls/winhttp/tests/winhttp.c
+++ b/dlls/winhttp/tests/winhttp.c
@@ -412,7 +412,7 @@ static void test_WinHttpSendRequest (void)
     ok(ret, "WinHttpSetOption failed: %u\n", GetLastError());
 
     /* writing more data than promised by the content-length header causes an error when the connection
-       is resued, so disable keep-alive */
+       is reused, so disable keep-alive */
     disable = WINHTTP_DISABLE_KEEP_ALIVE;
     ret = WinHttpSetOption(request, WINHTTP_OPTION_DISABLE_FEATURE, &disable, sizeof(disable));
     ok(ret, "WinHttpSetOption failed: %u\n", GetLastError());
@@ -692,7 +692,7 @@ static void test_WinHttpAddHeaders(void)
         test_header_name, NULL, &len, &index);
     ok(ret == FALSE, "WinHttpQueryHeaders unexpectedly succeeded.\n");
     ok(GetLastError() == ERROR_INSUFFICIENT_BUFFER,
-        "WinHttpQueryHeaders set incorrect error: expected ERROR_INSUFFICENT_BUFFER, got %u\n", GetLastError());
+        "WinHttpQueryHeaders set incorrect error: expected ERROR_INSUFFICIENT_BUFFER, got %u\n", GetLastError());
     ok(len > 40, "WinHttpQueryHeaders returned invalid length: expected greater than 40, got %d\n", len);
     ok(index == 0, "WinHttpQueryHeaders incorrectly incremented header index.\n");
 
@@ -2144,7 +2144,7 @@ static void test_resolve_timeout(void)
         WinHttpCloseHandle(ses);
     }
     else
-       skip("Skipping host resolution tests, host resolution preformed by proxy\n");
+       skip("Skipping host resolution tests, host resolution performed by proxy\n");
 
     ses = WinHttpOpen(test_useragent, 0, NULL, NULL, 0);
     ok(ses != NULL, "failed to open session %u\n", GetLastError());




More information about the wine-cvs mailing list