Macro holochain_cli_sandbox::expect_match

source ·
macro_rules! expect_match {
    ($var:expr => $variant:path, $error_msg:expr) => { ... };
    ($var:expr => $variant:path) => { ... };
}
Expand description

Expect that an enum matches a variant and return an error if it doesn’t.