compiler_test_utils

Function exec_runtime_error

Source
pub fn exec_runtime_error<T>(env: &mut SloshVm, input: T)
where T: AsRef<str> + 'static,
Expand description

Read, compile and execute input and fail if execution does not result in an error.