Assert.ErrorCode (gb.test)
Static Function ErrorCode ( Code As Integer [ , Description As String ] ) As Boolean
Assert that an error happened with error code. Reports not ok
if no error happend or if the error code is wrong.
Example:
Try Print 2 / 0
Assert.ErrorCode(26, "division by zero with code 26")