Executes `expr` on a scripting interpreter and ensures that the result is `exp_value`.
(exp_value: V, expr: &str)
| 1169 | |
| 1170 | /// Executes `expr` on a scripting interpreter and ensures that the result is `exp_value`. |
| 1171 | pub fn check_expr_ok<V: Into<ConstantDatum>>(exp_value: V, expr: &str) { |
| 1172 | let exp_value = exp_value.into(); |
| 1173 | Tester::default().run(format!("result = {}", expr)).expect_var("result", exp_value).check(); |
| 1174 | } |
| 1175 | |
| 1176 | /// Executes `expr` on a scripting interpreter and ensures that the result is `exp_value`. |
| 1177 | /// |
no test coverage detected