Function common_testing::assert::none
source · pub fn none<T>(a: &Option<T>)where
T: Debug,
Expand description
Assert that the value is none.
Example
use common_testing::assert;
#[test]
fn test_1() {
let result = None::<&str>;
assert::none(&result);
}