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

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Francois Gouget 2019-12-04 18:08:38 +01:00 committed by Alexandre Julliard
parent 83654685f6
commit 67d1321c2b
1 changed files with 2 additions and 2 deletions

View File

@ -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));