File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
tests/foundry/unit/lock/withdraw Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,7 @@ contract Lock_Withdraw is Lock_Test {
2626
2727 /// @notice Test that withdraw reverts when called from another account
2828 /// @param anotherAccount The address of the non-owner account trying to withdraw
29- function testFuzz_RevertWhen_CalledFromAnotherAccount (address anotherAccount )
30- external
31- CalledOnTime
32- {
29+ function testFuzz_RevertWhen_CalledFromAnotherAccount (address anotherAccount ) external CalledOnTime {
3330 vm.assume (anotherAccount != address (0 ));
3431 vm.assume (anotherAccount != users.deployer);
3532
@@ -60,11 +57,7 @@ contract Lock_Withdraw is Lock_Test {
6057 }
6158
6259 /// @notice Test that withdraw transfers funds to the owner when called on time
63- function test_CalledFromOwnerOnTime_TransferFundsToOwner ()
64- external
65- CalledOnTime
66- CalledFromOwner
67- {
60+ function test_CalledFromOwnerOnTime_TransferFundsToOwner () external CalledOnTime CalledFromOwner {
6861 // We can increase the time to unlockTime.
6962 increaseTimeToUnlockTime ();
7063
You can’t perform that action at this time.
0 commit comments