Assert a function err() is less than an expression.
fn f(i: i8) -> Result<String, String> {
match i {
0..=9 => Ok(format!("{}", i)),
_ => Err(format!("{:?} is out of range", i)),
}
}
let a: i8 = 10;
let b = String::from("20 is out of range");
assert_fn_err_lt_expr!(f, a, b);