mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 08:31:09 +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()
|
sub testCStrError()
|
||||||
on error resume next
|
on error resume next
|
||||||
Error.clear()
|
Err.clear()
|
||||||
CStr(null)
|
CStr(null)
|
||||||
call ok(Err.number = 94, "Err.number = " & Err.number)
|
call ok(Err.number = 94, "Err.number = " & Err.number)
|
||||||
if isEnglishLang then call ok(Err.source = "Microsoft VBScript runtime error", "Err.source = " & Err.source)
|
if isEnglishLang then call ok(Err.source = "Microsoft VBScript runtime error", "Err.source = " & Err.source)
|
||||||
|
|
Loading…
Reference in a new issue