Skip to content

Commit d3c487a

Browse files
author
Samuel Dare
committed
chore: fmt
1 parent 0acb78f commit d3c487a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pallets/subtensor/tests/staking.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2729,9 +2729,7 @@ fn test_remove_stake_below_minimum_threshold() {
27292729
assert_eq!(Balances::free_balance(coldkey2), bal_before + stake_removed);
27302730

27312731
// Stake map entry is removed
2732-
assert!(
2733-
Stake::<Test>::try_get(hotkey1, coldkey2).is_err(),
2734-
);
2732+
assert!(Stake::<Test>::try_get(hotkey1, coldkey2).is_err(),);
27352733
// Stake tracking is updated
27362734
assert_eq!(
27372735
TotalColdkeyStake::<Test>::try_get(coldkey2).unwrap(),

0 commit comments

Comments
 (0)