Skip to content

Commit

Permalink
Check Bob's balance in MultiCurrency tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sea212 committed Jan 22, 2024
1 parent b4d365c commit bcaef0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zrml/asset-router/src/tests/multi_currency.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ fn multicurrency_test_helper(
assert_ok!(AssetRouter::ensure_can_withdraw(asset, &ALICE, initial_amount));
assert!(AssetRouter::ensure_can_withdraw(asset, &ALICE, initial_amount + 1).is_err());
assert_ok!(AssetRouter::transfer(asset, &ALICE, &BOB, min_balance));
assert_eq!(AssetRouter::free_balance(asset, &BOB), min_balance);
assert_eq!(AssetRouter::free_balance(asset, &ALICE), initial_amount - min_balance);
assert_ok!(AssetRouter::withdraw(asset, &ALICE, 1));
assert_eq!(AssetRouter::free_balance(asset, &ALICE), initial_amount - min_balance - 1);
Expand Down

0 comments on commit bcaef0e

Please sign in to comment.