1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

vbscript/tests: Fix error clear call.

This commit is contained in:
Francis De Brabandere 2024-05-24 13:22:42 +00:00 committed by Alexandre Julliard
parent b6eada5e2f
commit 1c88cb4e4e

View File

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