From 921188c8f50eae19e7ca8f3a1f0ba9ffca6780bc Mon Sep 17 00:00:00 2001 From: mubarak23 Date: Wed, 18 Sep 2024 15:13:51 +0100 Subject: [PATCH] scarb fmt --- tests/test_account_v3.cairo | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/test_account_v3.cairo b/tests/test_account_v3.cairo index 115337f..9f4feeb 100644 --- a/tests/test_account_v3.cairo +++ b/tests/test_account_v3.cairo @@ -116,16 +116,16 @@ fn __setup__() -> ( #[test] fn test_on_erc721_received() { let (contract_address, erc721_contract_address, _, _, _, account_v3_contract_address) = - __setup__(); + __setup__(); let dispatcher = IAccountDispatcher { contract_address }; let dispatcher_v3 = IAccountV3Dispatcher { contract_address: account_v3_contract_address }; let owner = dispatcher.owner(); let (token_contract, token_id, chain_id) = dispatcher.token(); - let mut extra_data = array![]; - start_cheat_caller_address(account_v3_contract_address, owner); - let on_erc721_received = dispatcher_v3.on_erc721_received(owner, token_contract, token_id, - extra_data.span()); + let mut extra_data = array![]; + start_cheat_caller_address(account_v3_contract_address, owner); + let on_erc721_received = dispatcher_v3 + .on_erc721_received(owner, token_contract, token_id, extra_data.span()); println!("result of on_erc721_received: {:?}", on_erc721_received); stop_cheat_caller_address(account_v3_contract_address); }