pub fn check_expr_compilation_error<S: Into<String>>(exp_error: S, expr: &str)
Expand description
Executes expr
on a scripting interpreter and ensures that evaluation fails with exp_error
during compilation.
Note that exp_error
is a literal exact match on the formatted error message returned by the
machine.