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

Francois Gouget fgouget at free.fr
Thu Nov 28 06:27:41 CST 2019


Signed-off-by: Francois Gouget <fgouget at free.fr>
---

I'm a bit surprised that this is not causing more trouble. But it also 
does not really look like this was an intentional typo designed to test 
error handling.

 dlls/vbscript/tests/run.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/vbscript/tests/run.c b/dlls/vbscript/tests/run.c
index 5fc23707e39..ab32a4213b0 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);
-- 
2.20.1




More information about the wine-devel mailing list