Francois Gouget : vbscript/tests: Fix the name of a vbscript variable in the run test.

Alexandre Julliard julliard at winehq.org
Wed Dec 4 16:13:05 CST 2019


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Wed Dec  4 18:08:38 2019 +0100

vbscript/tests: Fix the name of a vbscript variable in the run test.

Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/vbscript/tests/run.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/vbscript/tests/run.c b/dlls/vbscript/tests/run.c
index 5fc23707e3..5357ab1f12 100644
--- a/dlls/vbscript/tests/run.c
+++ b/dlls/vbscript/tests/run.c
@@ -2206,7 +2206,7 @@ static void test_callbacks(void)
                                               L"    on error resume next\n"
                                               L"    err.raise 2\n"
                                               L"    call test.globalCallback(new CallbackClass)\n"
-                                              L"    call ok(err.number = 2, \"err.number = \" & err.numner)\n"
+                                              L"    call ok(err.number = 2, \"err.number = \" & err.number)\n"
                                               L"end function\n",
                                               NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
     ok(hres == S_OK, "ParseScriptText failed: %08x\n", hres);
@@ -2268,7 +2268,7 @@ static void test_callbacks(void)
     if(is_english) {
         ok(!wcscmp(ei.bstrSource, L"Microsoft VBScript runtime error"),
            "bstrSource = %s\n", wine_dbgstr_w(ei.bstrSource));
-        ok(!wcscmp(ei.bstrDescription, L"Object doesn't support this property or method"),
+        ok(!wcscmp(ei.bstrDescription, L"Unknown runtime error"),
            "bstrDescription = %s\n", wine_dbgstr_w(ei.bstrDescription));
     }
     ok(!ei.bstrHelpFile, "bstrHelpFile = %s\n", wine_dbgstr_w(ei.bstrHelpFile));




More information about the wine-cvs mailing list