pub fn some_into<T>(a: Option<T>) -> Twhere
T: Debug,Expand description
Asserts that the value is some and returns the value.
ยงExample
use common_testing::assert;
#[test]
fn test_1() {
let result = Some("abc");
let some = assert::some_into(result);
assert::equal(some, "abc");
}