Skip to main content

assert_throws

Function assert_throws 

Source
pub fn assert_throws(action: impl FnOnce())
Expand description

Asserts that action panics (ReactiveAssert.Throws): the form of an exception thrown to the caller in the port.