Function 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.