diff --git a/substrate/frame/delegated-staking/src/tests.rs b/substrate/frame/delegated-staking/src/tests.rs index 08856e13e4fa..464a496f6786 100644 --- a/substrate/frame/delegated-staking/src/tests.rs +++ b/substrate/frame/delegated-staking/src/tests.rs @@ -988,10 +988,7 @@ mod pool_integration { Event::Released { agent: pool_acc, delegator: i, amount: 50 }, ] ); - assert_eq!( - get_pool_agent(pool_id).ledger.pending_slash, - pre_pending_slash - 50 - ); + assert_eq!(get_pool_agent(pool_id).ledger.pending_slash, pre_pending_slash - 50); assert_eq!(held_balance(&i), 0); assert_eq!(Balances::free_balance(i) - pre_balance, 50); } @@ -1006,10 +1003,7 @@ mod pool_integration { assert_ok!(Pools::apply_slash(RawOrigin::Signed(slash_reporter).into(), i)); // each member is slashed 50% of 100 = 50. - assert_eq!( - get_pool_agent(pool_id).ledger.pending_slash, - pre_pending_slash - 50 - ); + assert_eq!(get_pool_agent(pool_id).ledger.pending_slash, pre_pending_slash - 50); // left with 50. assert_eq!(held_balance(&i), 50); }