Skip to content

Commit

Permalink
test: Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pmerkleplant committed Oct 10, 2024
1 parent aac35c4 commit bb4f7d8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/rescue/RescuerTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,10 @@ contract RescuerTest is Test {
assertEq(address(receiver).balance, withdrawal);
}

function test_withdraw_FailsIf_ETHTransferFails(uint balance, uint withdrawal) public {
function test_withdraw_FailsIf_ETHTransferFails(
uint balance,
uint withdrawal
) public {
vm.assume(balance >= withdrawal);

// Let rescuer have ETH balance.
Expand Down Expand Up @@ -240,6 +243,7 @@ contract RescuerTest is Test {
}

contract NotETHReceiver {}

contract ETHReceiver {
receive() external payable {}
}

0 comments on commit bb4f7d8

Please sign in to comment.