[][src]Macro k9::assert_ok

macro_rules! assert_ok {
    ($left:expr) => { ... };
    ($left:expr, $description:expr) => { ... };
}

Asserts if value is Ok(T). panics if it is not

use k9::assert_ok;

assert_ok!(Ok(2));