pub fn ok_into<T, E>(a: Result<T, E>) -> TExpand description
Asserts that the value is ok and returns the value.
ยงExample
use common_testing::assert;
#[test]
fn test_1() {
let result = Ok("abc");
let ok = assert::ok_into(a);
assert::equal(ok, "abc");
}