Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
Signed-off-by: zqhxuyuan <[email protected]>
  • Loading branch information
zqhxuyuan committed Apr 19, 2024
1 parent 786394e commit bfcadbf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pallets/pallet-lottery/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1297,7 +1297,6 @@ fn delegator_kicked_when_reactivate_bottom_should_ignored() {

#[test]
fn delegator_unstaking_then_kicked_should_ignored() {
let reserve = 10_000 * UNIT;
let balance = 500_000_000 * UNIT;
ExtBuilder::default()
.with_balances(vec![
Expand Down Expand Up @@ -1455,7 +1454,7 @@ fn delegator_unstaking_then_kicked_should_ignored() {

assert_eq!(crate::StakedCollators::<Test>::iter().count(), 1);
assert_eq!(crate::UnstakingCollators::<Test>::get().len(), 0);
assert_eq!(crate::StakedCollators::<Test>::get(&BOB), 51_000_000 * UNIT);
assert_eq!(crate::StakedCollators::<Test>::get(BOB), 51_000_000 * UNIT);

// DelegatorState of PotAccount is empty
let _pot_state4 =
Expand Down

0 comments on commit bfcadbf

Please sign in to comment.