Executes `stmt` on a default `Tester` instance and checks that it fails with `exp_error`.
(exp_error: S, stmt: &str)
| 1158 | |
| 1159 | /// Executes `stmt` on a default `Tester` instance and checks that it fails with `exp_error`. |
| 1160 | pub fn check_stmt_err<S: Into<String>>(exp_error: S, stmt: &str) { |
| 1161 | Tester::default().run(stmt).expect_err(exp_error).check(); |
| 1162 | } |
| 1163 | |
| 1164 | /// Executes `stmt` on a default `Tester` instance and checks that it fails with `exp_error` |
| 1165 | /// during compilation. |
no test coverage detected