Skip to content

Commit

Permalink
fix: bug in test case
Browse files Browse the repository at this point in the history
  • Loading branch information
xenide committed Jan 22, 2024
1 parent 2993da9 commit c3bcb52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/StablePair.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ contract StablePairTest is BaseTest {
(uint256 lExpectedPlatformFee, uint256 lGrowthInLiq) =
_calcExpectedPlatformFee(lPlatformFee, lPair, lReserve0, lReserve1, lTotalSupply, lOldLiq);
assertEq(lPair.balanceOf(_platformFeeTo), lExpectedPlatformFee);
if (aPlatformFee > 0) {
if (lPlatformFee > 0) {
assertGt(lPair.balanceOf(_platformFeeTo), 0);
}
assertApproxEqRel(
Expand Down

0 comments on commit c3bcb52

Please sign in to comment.