Assert.Error (gb.test)

Static Function Error ( [ Description As String ] ) As Boolean

Assert that an error happened. Reports not ok if no error happened.

Example: Try 2/0 Assert.Error("division by zero")