diff --git a/runtime/tests/common/mod.rs b/runtime/tests/common/mod.rs index 4fe99c3..a5f4fe8 100644 --- a/runtime/tests/common/mod.rs +++ b/runtime/tests/common/mod.rs @@ -2,10 +2,7 @@ use frame_support::weights::Weight; use parachain_template_runtime::{BuildStorage, Runtime, System}; -pub fn run_with_system_weight(w: Weight, mut assertions: F) -where - F: FnMut() -> (), -{ +pub fn run_with_system_weight(w: Weight, mut assertions: F) { let mut t: sp_io::TestExternalities = frame_system::GenesisConfig::::default().build_storage().unwrap().into(); t.execute_with(|| {