Name

assert-throws-exception

Usage

macro

Syntax

(assert-throws-exception expr)

Description

Throws an AssertFailedException if expr does not throw an exception. Generates no code when $debugging is false.

user > (assert-throws-exception (= 1 2))
it: null