Skip to content

Commit

Permalink
Fix out-dated test
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJem committed Feb 6, 2024
1 parent e1d4dff commit 048b1e3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions test/AuctionHouse/settle.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -558,15 +558,17 @@ contract SettleTest is Test, Permit2User {
auctionHouse.settle(lotId);

// Check base token balances
assertEq(baseToken.balanceOf(bidderOne), 0, "biddertOne: incorrect balance of base token");
assertEq(
baseToken.balanceOf(bidderOne),
baseToken.balanceOf(recipientOne),
bidOneAmountOut,
"bidderOne: incorrect balance of base token"
"recipientOne: incorrect balance of base token"
);
assertEq(baseToken.balanceOf(bidderTwo), 0, "bidderTwo: incorrect balance of base token");
assertEq(
baseToken.balanceOf(bidderTwo),
baseToken.balanceOf(recipientTwo),
bidTwoAmountOut,
"bidderTwo: incorrect balance of base token"
"recipientTwo: incorrect balance of base token"
);
assertEq(
baseToken.balanceOf(auctionOwner), 0, "auction owner: incorrect balance of base token"
Expand Down

0 comments on commit 048b1e3

Please sign in to comment.