Skip to content

Commit 5e00e8d

Browse files
committed
chore: fmt
1 parent b5c73b3 commit 5e00e8d

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

pallets/subtensor/src/tests/children.rs

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3952,7 +3952,7 @@ fn test_dividend_distribution_with_children_same_coldkey_owner() {
39523952

39533953
#[test]
39543954
fn test_pending_cooldown_one_day() {
3955-
let curr_block = 1;
3955+
let curr_block = 1;
39563956
new_test_ext(curr_block).execute_with(|| {
39573957
let coldkey = U256::from(1);
39583958
let hotkey = U256::from(2);
@@ -3967,11 +3967,19 @@ fn test_pending_cooldown_one_day() {
39673967
register_ok_neuron(netuid, hotkey, coldkey, 0);
39683968

39693969
// Set multiple children
3970-
mock_schedule_children(&coldkey, &hotkey, netuid, &[(proportion1, child1), (proportion2, child2)]);
3970+
mock_schedule_children(
3971+
&coldkey,
3972+
&hotkey,
3973+
netuid,
3974+
&[(proportion1, child1), (proportion2, child2)],
3975+
);
39713976

39723977
// Verify pending map
3973-
let pending_children = PendingChildKeys::<Test>::get(netuid, hotkey);
3974-
assert_eq!(pending_children.0, vec![(proportion1, child1), (proportion2, child2)]);
3975-
assert_eq!(pending_children.1, curr_block + 7_200);
3978+
let pending_children = PendingChildKeys::<Test>::get(netuid, hotkey);
3979+
assert_eq!(
3980+
pending_children.0,
3981+
vec![(proportion1, child1), (proportion2, child2)]
3982+
);
3983+
assert_eq!(pending_children.1, curr_block + 7_200);
39763984
});
39773985
}

0 commit comments

Comments
 (0)