difftreelog
fix xcm unit test
in: master
1 file changed
runtime/common/tests/xcm.rsdiffbeforeafterboth55 let xcm_event = &last_events(1)[0];55 let xcm_event = &last_events(1)[0];56 match xcm_event {56 match xcm_event {57 RuntimeEvent::PolkadotXcm(pallet_xcm::Event::<Runtime>::Attempted {57 RuntimeEvent::PolkadotXcm(pallet_xcm::Event::<Runtime>::Attempted {58 outcome: Outcome::Incomplete(_weight, Error::NoPermission),58 outcome: Outcome::Incomplete {59 used: _weight,60 error: Error::NoPermission,61 },59 }) => { /* Pass */ }62 }) => { /* Pass */ }60 _ => panic!(63 _ => panic!(61 "Expected PolkadotXcm.Attempted(Incomplete(_weight, NoPermission)),\64 "Expected PolkadotXcm.Attempted(Incomplete(_weight, NoPermission)),\