pub fn get_rc_ref_cell_empty_vec<T>() -> Rc<RefCell<Vec<T>>>Expand description
Get an empty vector wrapped in an Rc<RefCell<>>.
Use to avoid random dependencies in test files for rare test cases.
ยงExample
use common_testing::setup;
#[test]
fn test_1() {
let vec = setup::get_rc_ref_cell_empty_vec::<u8>();
// test code
}