Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
5
Task/Assertions/VBScript/assertions-1.vb
Normal file
5
Task/Assertions/VBScript/assertions-1.vb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
sub Assert( boolExpr, strOnFail )
|
||||
if not boolExpr then
|
||||
Err.Raise vbObjectError + 99999, , strOnFail
|
||||
end if
|
||||
end sub
|
||||
3
Task/Assertions/VBScript/assertions-2.vb
Normal file
3
Task/Assertions/VBScript/assertions-2.vb
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
dim i
|
||||
i = 43
|
||||
Assert i=42, "There's got to be more to life than this!"
|
||||
2
Task/Assertions/VBScript/assertions-3.vb
Normal file
2
Task/Assertions/VBScript/assertions-3.vb
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
>cscript "C:\foo\assert.vbs"
|
||||
C:\foo\assert.vbs(3, 3) (null): There's got to be more to life than this!
|
||||
Loading…
Add table
Add a link
Reference in a new issue