[][src]Macro k9::assert_err

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

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

use k9::assert_err;

assert_err!(Err("Invalid path"));