style: Migrate to stable-only rustfmt configuration
- Remove nightly-only features from .rustfmt.toml and vendor/ss58-registry/rustfmt.toml - Removed features: imports_granularity, wrap_comments, comment_width, reorder_impl_items, spaces_around_ranges, binop_separator, match_arm_blocks, trailing_semicolon, trailing_comma - Format all 898 affected files with stable rustfmt - Ensures long-term reliability without nightly toolchain dependency
This commit is contained in:
@@ -1156,16 +1156,16 @@ fn vested_transfer_less_than_existential_deposit_fails() {
|
||||
ExtBuilder::default().existential_deposit(4 * ED).build().execute_with(|| {
|
||||
// MinVestedTransfer is less the ED.
|
||||
assert!(
|
||||
<Test as Config>::Currency::minimum_balance() >
|
||||
<Test as Config>::MinVestedTransfer::get()
|
||||
<Test as Config>::Currency::minimum_balance()
|
||||
> <Test as Config>::MinVestedTransfer::get()
|
||||
);
|
||||
|
||||
let sched =
|
||||
VestingInfo::new(<Test as Config>::MinVestedTransfer::get() as u64, 1u64, 10u64);
|
||||
// The new account balance with the schedule's locked amount would be less than ED.
|
||||
assert!(
|
||||
Balances::free_balance(&99) + sched.locked() <
|
||||
<Test as Config>::Currency::minimum_balance()
|
||||
Balances::free_balance(&99) + sched.locked()
|
||||
< <Test as Config>::Currency::minimum_balance()
|
||||
);
|
||||
|
||||
// vested_transfer fails.
|
||||
|
||||
Reference in New Issue
Block a user