Skip to content

Commit

Permalink
fix: use fuzzargs in differential test
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-carroll committed Nov 17, 2023
1 parent 09d431e commit 180be2a
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions test/foundry/offerers/ContractOffersNativeTokenOfferItems.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -79,17 +79,8 @@ contract ContractOffersNativeTokenOfferItems is
function testEthForErc721(
FuzzArgs memory args
) public validateInputs(args) {
test(
this.ethForErc721,
Context({
seaport: consideration,
args: FuzzArgs({ ethAmount: 1, nftId: 1 })
})
);
test(
this.ethForErc721,
Context({ seaport: referenceConsideration, args: args })
);
test(this.ethForErc721, Context(consideration,args));
test(this.ethForErc721, Context(referenceConsideration,args));
}

function ethForErc721(Context memory context) public stateless {
Expand Down

0 comments on commit 180be2a

Please sign in to comment.