Skip to content

Commit

Permalink
style(test): add STD-CHEATS code region
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverNChalk committed Apr 22, 2022
1 parent 3c15901 commit 113b11c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Test.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ abstract contract Test is DSTest {
Vm public constant vm = Vm(HEVM_ADDRESS);
StdStorage internal stdstore;

/*//////////////////////////////////////////////////////////////////////////
STD-CHEATS
//////////////////////////////////////////////////////////////////////////*/

// Skip forward or rewind time by the specified number of seconds
function skip(uint256 time) public {
vm.warp(block.timestamp + time);
Expand Down

0 comments on commit 113b11c

Please sign in to comment.