Skip to content

Commit

Permalink
test for foundry 0.18
Browse files Browse the repository at this point in the history
  • Loading branch information
julienbrs committed Jun 27, 2024
1 parent 04dbc27 commit 1cc24d9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/tests/units/test_batch_metadata_update.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const TOKEN_10: u256 = 10;

// Deploys an ERC4906 Preset contract.
fn deploy() -> ContractAddress {
let contract = snf::declare("ERC4906Preset");
let contract = snf::declare('ERC4906Preset');

let token_ids = array![TOKEN_1, TOKEN_10];
let mut calldata: Array<felt252> = array![];
Expand Down
2 changes: 1 addition & 1 deletion src/tests/units/test_initialization.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const TOKEN_10: u256 = 10;

// Deploys an ERC4906 Preset contract.
fn deploy() -> ContractAddress {
let contract = snf::declare("ERC4906Preset");
let contract = snf::declare('ERC4906Preset');

let token_ids = array![TOKEN_1, TOKEN_10];
let mut calldata: Array<felt252> = array![];
Expand Down
4 changes: 2 additions & 2 deletions src/tests/units/test_metadata_update.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const TOKEN_10: u256 = 10;

// Deploys an ERC4906 Preset contract.
fn deploy() -> ContractAddress {
let contract = snf::declare("ERC4906Preset");
let contract = snf::declare('ERC4906Preset');

let token_ids = array![TOKEN_1, TOKEN_10];
let mut calldata: Array<felt252> = array![];
Expand All @@ -67,7 +67,7 @@ fn deploy() -> ContractAddress {

// TODO: use the internal function _emit_metadata_update and emit MetadataUpdate when updating a single token
fn test_metadata_update() {
let contract_address = deploy();
// let contract_address = deploy();

let u256_max = u256 {
low: 0xffffffffffffffffffffffffffffffff_u128, high: 0xffffffffffffffffffffffffffffffff_u128
Expand Down

0 comments on commit 1cc24d9

Please sign in to comment.