Skip to content

Commit

Permalink
Use four spaces for macro indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
HCastano committed Sep 13, 2022
1 parent 96908b7 commit e60a5dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/env/src/engine/off_chain/test_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,8 @@ pub fn assert_contract_termination<T, F>(
/// Prepend contract message call with value transfer. Used for tests in off-chain environment.
#[macro_export]
macro_rules! pay_with_call {
($contract:ident . $message:ident ( $($params:ty)? ) , $amount:expr) => {{
$crate::test::transfer_in::<Environment>($amount);
$contract.$message($($params:ty)?)
}}
($contract:ident . $message:ident ( $($params:ty)? ) , $amount:expr) => {{
$crate::test::transfer_in::<Environment>($amount);
$contract.$message($($params:ty)?)
}}
}

0 comments on commit e60a5dc

Please sign in to comment.