dock-substrate
dock-substrate copied to clipboard
[Tests] add macro to replace ext().execute_with() boilerplate in runtime module tests
Curent:
fn test_da_thing() {
ext().execute_with(|| {
assert!(DA_THING);
});
}
Desired:
#[needs_ext]
fn test_da_thing() {
assert!(DA_THING);
}