Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseAbram committed Aug 28, 2024
1 parent 1730efb commit ae86a75
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pallets/staking/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<Test>::NoUnbondingWhenSigner);
assert_noop!(
Staking::chill(RuntimeOrigin::signed(7)),
Error::<Test>::NoUnbondingWhenSigner
);

assert_ok!(FrameStaking::bond(
RuntimeOrigin::signed(8),
Expand Down

0 comments on commit ae86a75

Please sign in to comment.