Skip to content

Commit e527c74

Browse files
committed
cargo fmt fix
1 parent 4cf8b0a commit e527c74

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

chain-extensions/src/tests.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,7 +1140,10 @@ fn recycle_alpha_clamps_to_available_when_amount_exceeds_stake() {
11401140
assert_success(ret);
11411141

11421142
let returned_amount = AlphaBalance::decode(&mut env.output()).unwrap();
1143-
assert_eq!(returned_amount, alpha_before, "should clamp to available alpha");
1143+
assert_eq!(
1144+
returned_amount, alpha_before,
1145+
"should clamp to available alpha"
1146+
);
11441147

11451148
let alpha_after =
11461149
pallet_subtensor::Pallet::<mock::Test>::get_stake_for_hotkey_and_coldkey_on_subnet(
@@ -1238,7 +1241,10 @@ fn burn_alpha_clamps_to_available_when_amount_exceeds_stake() {
12381241
assert_success(ret);
12391242

12401243
let returned_amount = AlphaBalance::decode(&mut env.output()).unwrap();
1241-
assert_eq!(returned_amount, alpha_before, "should clamp to available alpha");
1244+
assert_eq!(
1245+
returned_amount, alpha_before,
1246+
"should clamp to available alpha"
1247+
);
12421248

12431249
let alpha_after =
12441250
pallet_subtensor::Pallet::<mock::Test>::get_stake_for_hotkey_and_coldkey_on_subnet(

0 commit comments

Comments
 (0)