Skip to content

Commit c629591

Browse files
committed
add expectRevert to pass tests
1 parent 9ad0352 commit c629591

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/BankV5.t.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ contract BankV3Test is Test {
5555
wethArbitrum.approve(address(bank), 1e18);
5656
bank.depositWETH(1e18);
5757

58+
vm.expectRevert();
5859
bank.withdrawWETH(0.5e18, mohamed);
5960
vm.stopPrank();
6061
}

0 commit comments

Comments
 (0)