Update system event variants (#4339)

* chore: update system event variants

* chore: update system event variants

* chore: modified event variants

* Update Substrate

Co-authored-by: Bastian Köcher <info@kchr.de>
This commit is contained in:
Enoch Chejieh
2021-11-30 22:02:36 +01:00
committed by GitHub
parent 0cca1d043c
commit 27d001db68
2 changed files with 166 additions and 166 deletions
@@ -138,7 +138,7 @@ mod tests {
use parachain::{Event, System};
assert!(System::events()
.iter()
.any(|r| matches!(r.event, Event::System(frame_system::Event::Remarked(_, _)))));
.any(|r| matches!(r.event, Event::System(frame_system::Event::Remarked { .. }))));
});
}
@@ -165,7 +165,7 @@ mod tests {
use relay_chain::{Event, System};
assert!(System::events()
.iter()
.any(|r| matches!(r.event, Event::System(frame_system::Event::Remarked(_, _)))));
.any(|r| matches!(r.event, Event::System(frame_system::Event::Remarked { .. }))));
});
}
@@ -193,7 +193,7 @@ mod tests {
use parachain::{Event, System};
assert!(System::events()
.iter()
.any(|r| matches!(r.event, Event::System(frame_system::Event::Remarked(_, _)))));
.any(|r| matches!(r.event, Event::System(frame_system::Event::Remarked { .. }))));
});
}