Macro holochain_cli_sandbox::expect_variant
source · [−]macro_rules! expect_variant {
($var:expr => $variant:path, $error_msg:expr) => { ... };
($var:expr => $variant:path) => { ... };
}
Expand description
Expect that an enum matches a variant and panic if it doesn’t.