pub fn check_expr_ok_with_vars<V: Into<Value>, VS: Into<Vec<(&'static str, Value)>>>(
exp_value: V,
expr: &str,
vars: VS,
)Expand description
Executes expr on a scripting interpreter and ensures that the result is exp_value.
Sets all vars before evaluating the expression so that the expression can contain variable
references.