[PATCH] mshtml/tests: Fix the spelling of an ok() message.

Francois Gouget fgouget at free.fr
Sun Oct 20 23:23:09 CDT 2019


Signed-off-by: Francois Gouget <fgouget at free.fr>
---
 dlls/mshtml/tests/protocol.c | 6 +++---
 dlls/mshtml/tests/style.c    | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/mshtml/tests/protocol.c b/dlls/mshtml/tests/protocol.c
index 80e356344d3..8f37d09c555 100644
--- a/dlls/mshtml/tests/protocol.c
+++ b/dlls/mshtml/tests/protocol.c
@@ -640,7 +640,7 @@ static void do_test_about_protocol(IClassFactory *factory, DWORD bf)
     hres = IInternetProtocol_Read(protocol, buf, sizeof(buf), &cb);
     ok(hres == S_OK, "Read failed: %08x\n", hres);
     ok(cb == sizeof(blank_html), "cb=%d\n", cb);
-    ok(!memcmp(buf, blank_html, cb), "Readed wrong data\n");
+    ok(!memcmp(buf, blank_html, cb), "Read wrong data\n");
     hres = IInternetProtocol_UnlockRequest(protocol);
     ok(hres == S_OK, "UnlockRequest failed: %08x\n", hres);
 
@@ -650,7 +650,7 @@ static void do_test_about_protocol(IClassFactory *factory, DWORD bf)
     hres = IInternetProtocol_Read(protocol, buf, sizeof(buf), &cb);
     ok(hres == S_OK, "Read failed: %08x\n", hres);
     ok(cb == sizeof(test_html), "cb=%d\n", cb);
-    ok(!memcmp(buf, test_html, cb), "Readed wrong data\n");
+    ok(!memcmp(buf, test_html, cb), "Read wrong data\n");
     hres = IInternetProtocol_UnlockRequest(protocol);
     ok(hres == S_OK, "UnlockRequest failed: %08x\n", hres);
 
@@ -660,7 +660,7 @@ static void do_test_about_protocol(IClassFactory *factory, DWORD bf)
     hres = IInternetProtocol_Read(protocol, buf, sizeof(buf), &cb);
     ok(hres == S_OK, "Read failed: %08x\n", hres);
     ok(cb == sizeof(blank_html), "cb=%d\n", cb);
-    ok(!memcmp(buf, blank_html, cb), "Readed wrong data\n");
+    ok(!memcmp(buf, blank_html, cb), "Read wrong data\n");
     hres = IInternetProtocol_UnlockRequest(protocol);
     ok(hres == S_OK, "UnlockRequest failed: %08x\n", hres);
 
diff --git a/dlls/mshtml/tests/style.c b/dlls/mshtml/tests/style.c
index 52a3a5ccdff..37a14262701 100644
--- a/dlls/mshtml/tests/style.c
+++ b/dlls/mshtml/tests/style.c
@@ -2719,7 +2719,7 @@ static void test_body_style(IHTMLStyle *style)
 
     hres = IHTMLStyle_get_borderTopColor(style, &v);
     ok(hres == S_OK, "get_borderTopColor: %08x\n", hres);
-    ok(!strcmp_wa(V_BSTR(&v), "red"), "expecte red = %s\n", wine_dbgstr_w(V_BSTR(&v)));
+    ok(!strcmp_wa(V_BSTR(&v), "red"), "expected red = %s\n", wine_dbgstr_w(V_BSTR(&v)));
     VariantClear(&v);
 
     hres = IHTMLStyle_put_borderTopColor(style, vDefault);
-- 
2.20.1




More information about the wine-devel mailing list