From ae86a753a235227356a4d04699654a4f063fc814 Mon Sep 17 00:00:00 2001 From: Jesse Abramowitz Date: Wed, 28 Aug 2024 11:11:22 -0400 Subject: [PATCH] lint --- pallets/staking/src/tests.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pallets/staking/src/tests.rs b/pallets/staking/src/tests.rs index 3209f767d..a1c905e90 100644 --- a/pallets/staking/src/tests.rs +++ b/pallets/staking/src/tests.rs @@ -527,7 +527,10 @@ fn it_stops_chill_when_signer_or_next_signer() { pallet_staking::RewardDestination::Account(1), )); - assert_noop!(Staking::chill(RuntimeOrigin::signed(7)), Error::::NoUnbondingWhenSigner); + assert_noop!( + Staking::chill(RuntimeOrigin::signed(7)), + Error::::NoUnbondingWhenSigner + ); assert_ok!(FrameStaking::bond( RuntimeOrigin::signed(8),