Skip to content

Commit

Permalink
linted
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDeadCe11 committed May 20, 2024
1 parent 2b869b6 commit c7b688d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/e2e/E2ESafeManager.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -682,10 +682,11 @@ contract E2ESafeManagerTest_ProtectSAFE is E2ESafeManagerSetUp {
protectSAFE(bobProxy, aliceSafeId, testSaviour);
assertFalse(safeManager.safeCan(bobProxy, aliceSafeId, 0, testSaviour));
}

function test_ProtectSafe_NotAllowedAfterRevert() public {
address randomSaviour = address(1234);
vm.prank(alice);
vm.expectRevert(ILiquidationEngine.LiqEng_SaviourNotAuthorized.selector);
vm.prank(alice);
vm.expectRevert(ILiquidationEngine.LiqEng_SaviourNotAuthorized.selector);
protectSAFE(aliceProxy, aliceSafeId, randomSaviour);
assertFalse(safeManager.safeCan(aliceProxy, aliceSafeId, 0, randomSaviour));
}
Expand Down

0 comments on commit c7b688d

Please sign in to comment.