Function endbasic_std::testutils::check_stmt_err
source ยท pub fn check_stmt_err<S: Into<String>>(exp_error: S, stmt: &str)
Expand description
Executes stmt
on a default Tester
instance and checks that it fails with exp_error
.