[][src]Function endbasic_std::testutils::check_stmt_err

pub fn check_stmt_err<S: Into<String>>(exp_error: S, stmt: &str)

Executes stmt on a default Tester instance and checks that it fails with exp_error.