gambas-source-code/main/lib/test/gb.test/.src/TestMyself/TCrashes.test
Christof Thalhofer fc4525708a gb.test rename test modules
[GB.TEST]
* OPT: rename testmodules and methods in them, get rid of such a lot "Test"
2020-05-26 20:45:18 +02:00

22 lines
310 B
Text

' Gambas test file
' Gambas test module file
''' Every test in this class crashes.
''' But the test system has to report it
''' and shall not crash itself
Public Sub ErrorTwo()
Error.Raise("I shot the sheriff.")
End
Public Sub DoACrash()
Dim a As Long
'This is a crash
a = 3 / 0
End