Skip to content

Commit 8e4bf4c

Browse files
committed
fmt
1 parent da1a9d2 commit 8e4bf4c

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

pallets/subtensor/tests/swap_hotkey.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ fn test_swap_total_hotkey_coldkey_stakes_this_interval() {
9696
));
9797

9898
assert!(!TotalHotkeyColdkeyStakesThisInterval::<Test>::contains_key(
99-
old_hotkey,
100-
coldkey
99+
old_hotkey, coldkey
101100
));
102101
assert_eq!(
103102
TotalHotkeyColdkeyStakesThisInterval::<Test>::get(new_hotkey, coldkey),
@@ -957,9 +956,6 @@ fn test_swap_hotkey_error_cases() {
957956
));
958957

959958
// Check balance after swap
960-
assert_eq!(
961-
Balances::free_balance(coldkey),
962-
initial_balance - swap_cost
963-
);
959+
assert_eq!(Balances::free_balance(coldkey), initial_balance - swap_cost);
964960
});
965961
}

0 commit comments

Comments
 (0)