Francis De Brabandere : vbscript/tests: Fix error clear call.
Module: wine Branch: master Commit: 1c88cb4e4ea8ffc0f7895d1f6525817896d336fd URL: https://gitlab.winehq.org/wine/wine/-/commit/1c88cb4e4ea8ffc0f7895d1f6525817... Author: Francis De Brabandere <francisdb(a)gmail.com> Date: Fri May 24 13:22:42 2024 +0000 vbscript/tests: Fix error clear call. --- dlls/vbscript/tests/api.vbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/vbscript/tests/api.vbs b/dlls/vbscript/tests/api.vbs index 3974781d6a8..7b8744f4c74 100644 --- a/dlls/vbscript/tests/api.vbs +++ b/dlls/vbscript/tests/api.vbs @@ -131,7 +131,7 @@ if isEnglishLang then TestCStr true, "True" sub testCStrError() on error resume next - Error.clear() + Err.clear() CStr(null) call ok(Err.number = 94, "Err.number = " & Err.number) if isEnglishLang then call ok(Err.source = "Microsoft VBScript runtime error", "Err.source = " & Err.source)
participants (1)
-
Alexandre Julliard