Skip to content

Commit

Permalink
remove duplicate assert macro definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
apopiak committed Oct 20, 2023
1 parent 54744fe commit c90e469
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions integration-tests/src/polkadot_test_net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -474,17 +474,3 @@ pub fn init_omnipool() {
Permill::from_percent(10)
));
}

#[macro_export]
macro_rules! assert_balance {
( $who:expr, $asset:expr, $amount:expr) => {{
assert_eq!(Currencies::free_balance($asset, &$who), $amount);
}};
}

#[macro_export]
macro_rules! assert_reserved_balance {
( $who:expr, $asset:expr, $amount:expr) => {{
assert_eq!(Currencies::reserved_balance($asset, &$who), $amount);
}};
}

0 comments on commit c90e469

Please sign in to comment.