tink_tests
pub fn expect_err<T, E: Debug>(result: Result<T, E>, err_msg: &str)
Check for an expected error.