assert_fails
Asserts that a function fails to evaluate
Since
0.11.0
Parameters
fn
Function to evaluate
Asserts that a function fails with an expected message
Since
0.11.0
Parameters
expected_message
String that should be contained in the error message
fn
Function to evaluate