Executes `stmt` on a default `Tester` instance and checks that it fails with `exp_error` during compilation.
(exp_error: S, stmt: &str)
| 1164 | /// Executes `stmt` on a default `Tester` instance and checks that it fails with `exp_error` |
| 1165 | /// during compilation. |
| 1166 | pub fn check_stmt_compilation_err<S: Into<String>>(exp_error: S, stmt: &str) { |
| 1167 | Tester::default().run(stmt).expect_compilation_err(exp_error).check(); |
| 1168 | } |
| 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) { |
no test coverage detected