mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 05:31:39 +00:00
vbscript/tests: Fix error clear call.
This commit is contained in:
parent
b6eada5e2f
commit
1c88cb4e4e
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue