Skip to content

Commit

Permalink
test: swapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Schlagonia committed Nov 13, 2024
1 parent 785d558 commit 3a37913
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/test/AuctionSwapper.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ contract AuctionSwapperTest is Setup {
assertEq(ERC20(from).balanceOf(address(swapper)), _amount - kickable);
assertEq(ERC20(from).balanceOf(address(auction)), kickable);

assertEq(swapper.kickable(from), 0);
(_kicked, , _initialAvailable) = auction.auctions(from);
assertEq(_kicked, block.timestamp);
assertEq(_initialAvailable, kickable);
Expand Down Expand Up @@ -409,7 +408,7 @@ contract AuctionSwapperTest is Setup {
assertEq(amountTaken, toTake);

(_kicked, , _initialAvailable) = auction.auctions(from);
assertEq(_initialAvailable, _amount);
assertEq(_initialAvailable, kickable);
assertEq(auction.available(from), left);
assertEq(ERC20(asset).balanceOf(address(this)), beforeAsset);
assertEq(ERC20(from).balanceOf(address(this)), before + toTake);
Expand Down

0 comments on commit 3a37913

Please sign in to comment.