Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-fleming committed Nov 8, 2023
1 parent 1f13281 commit 2905387
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/tests/presets/test_erc721.cairo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use openzeppelin::account::AccountComponent;
use openzeppelin::introspection::src5::SRC5Component::SRC5Impl;
use openzeppelin::introspection::interface::ISRC5_ID;
use openzeppelin::introspection::src5::SRC5Component::SRC5Impl;
use openzeppelin::presets::ERC721::InternalImpl;
use openzeppelin::presets::ERC721;
use openzeppelin::tests::mocks::account_mocks::{DualCaseAccountMock, CamelAccountMock};
Expand Down Expand Up @@ -110,7 +110,7 @@ fn test__mint_assets() {

let id = *token_ids.pop_front().unwrap();
let uri = *token_uris.pop_front().unwrap();

assert(state.erc721.owner_of(id) == OWNER(), 'Should be owned by OWNER');
assert(state.erc721.token_uri(id) == uri, 'Should equal correct URI');
};
Expand Down Expand Up @@ -1165,7 +1165,9 @@ fn assert_event_transfer(
utils::assert_indexed_keys(event, indexed_keys.span());
}

fn assert_only_event_transfer(contract: ContractAddress, from: ContractAddress, to: ContractAddress, value: u256) {
fn assert_only_event_transfer(
contract: ContractAddress, from: ContractAddress, to: ContractAddress, value: u256
) {
assert_event_transfer(contract, from, to, value);
utils::assert_no_events_left(contract);
}
Expand Down

0 comments on commit 2905387

Please sign in to comment.