macro_rules! assert_err {
($actual:expr, $expected_err:expr) => { ... };
($actual:expr, $expected_err:expr, $msg:expr) => { ... };
}Expand description
Asserts that the expression evaluates to the specified error status and short-circuits on failure.