pub fn some<T>(a: &Option<T>)where T: Debug,
Assert that the value is some.
use common_testing::assert; #[test] fn test_1() { let result = Some("abc"); assert::some(&result); }