macro_rules! expect_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, but does not short-circuit on failure.