[−][src]Function endbasic_std::testutils::check_expr_error
pub fn check_expr_error<S: Into<String>>(exp_error: S, expr: &str)
Executes expr on a scripting interpreter and ensures that evaluation fails with exp_error.
Note that exp_error is a literal exact match on the formatted error message returned by the
machine.