Skip to content

Commit

Permalink
feat: add vm.skip(bool) (#410)
Browse files Browse the repository at this point in the history
* feat: add vm.skip(bool)

* chore: dont name var like func name
  • Loading branch information
Evalir committed Jun 29, 2023
1 parent 5086c7a commit a3f287a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Vm.sol
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,8 @@ interface Vm is VmSafe {
function deal(address account, uint256 newBalance) external;
// Sets an address' code
function etch(address target, bytes calldata newRuntimeBytecode) external;
// Marks a test as skipped. Must be called at the top of the test.
function skip(bool skipTest) external;
// Expects an error on next call
function expectRevert(bytes calldata revertData) external;
function expectRevert(bytes4 revertData) external;
Expand Down

1 comment on commit a3f287a

@mattaereal
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, been waiting for this one :)

Please sign in to comment.