git.delta.rocks / unique-network / refs/commits / 84a956baeac4

difftreelog

fix xcm unit test

Daniel Shiposha2024-05-30parent: #4740866.patch.diff
in: master

1 file changed

modifiedruntime/common/tests/xcm.rsdiffbeforeafterboth
55 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)),\