shouldNotThrow

Verify that expr does not throw the templated Exception class.

void
shouldNotThrow
(
T : Throwable = Exception
E
)
(
lazy E expr
,
in string file = __FILE__
,
in size_t line = __LINE__
)

Throws

UnitTestException on failure

Meta