Skip to content

Commit 8f1a972

Browse files
authored
Allow calling expectRevert without any arguments
2 parents d880879 + f6e5422 commit 8f1a972

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Vm.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ interface Vm {
3636
// Expects an error on next call
3737
function expectRevert(bytes calldata) external;
3838
function expectRevert(bytes4) external;
39+
function expectRevert() external;
3940
// Record all storage reads and writes
4041
function record() external;
4142
// Gets all accessed reads and write slot from a recording session, for a given address

0 commit comments

Comments
 (0)