Skip to content

Commit

Permalink
Merge pull request #875 from morpho-org/test/withdraw-pool-only-rounding
Browse files Browse the repository at this point in the history
Rounding error in `testWithdrawPoolOnlyRounding`
  • Loading branch information
QGarchery committed Jul 17, 2023
2 parents 5236e88 + 687b7b2 commit eb40a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/TestIntegrationWithdraw.sol
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ contract TestIntegrationWithdraw is IntegrationTest {

// Assert Morpho's position on pool.
assertApproxEqAbs(
market.supplyOf(address(morpho)), test.morphoSupplyBefore, 1, "morphoSupply != morphoSupplyBefore"
market.supplyOf(address(morpho)), test.morphoSupplyBefore, 2, "morphoSupply != morphoSupplyBefore"
);
assertApproxEqAbs(market.variableBorrowOf(address(morpho)), 0, 2, "morphoVariableBorrow != 0");
assertEq(market.stableBorrowOf(address(morpho)), 0, "morphoStableBorrow != 0");
Expand Down

0 comments on commit eb40a2f

Please sign in to comment.