Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
EridianAlpha committed Jun 25, 2024
1 parent dd7b305 commit c4e20fe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/unit/AavePM/AaveBorrowAndWithdrawUSDCTest.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,8 @@ contract AavePMBorrowAndWithdrawUSDCTests is AavePMTestSetup {
vm.stopPrank();
}

// This test isn't something that can happen on in production since the internal function can't be
// This test is not something that can happen on in production since the internal function cannot be
// accessed externally, but it is used to check the branch coverage of the flash loan.
// TODO: This was testFail, but when I added delegateCallHelper it started passing.
// So I need to check if it still covers the correct branch.
function test_Exposed_BorrowAndWithdrawUSDCWithReinvestedFlashLoanChecks() public {
vm.startPrank(manager1);
sendEth(address(this), SEND_VALUE);
Expand Down

0 comments on commit c4e20fe

Please sign in to comment.