Skip to content

Commit 0acb78f

Browse files
author
Samuel Dare
committed
chore: clippy
1 parent 04137e1 commit 0acb78f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pallets/subtensor/tests/staking.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2729,9 +2729,8 @@ 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_eq!(
2732+
assert!(
27332733
Stake::<Test>::try_get(hotkey1, coldkey2).is_err(),
2734-
true // Entry was removed
27352734
);
27362735
// Stake tracking is updated
27372736
assert_eq!(

0 commit comments

Comments
 (0)