mirror of https://github.com/crytic/echidna
Merge pull request #217 from crytic/dev-memory-reset-refix
Reset memory reset every time EVM is restarted (again)pull/222/head
commit
c20ee00507
@ -0,0 +1,11 @@ |
||||
contract ShouldNotRevert { |
||||
function f() public { } |
||||
|
||||
function echidna_should_not_revert() public returns (bool) { |
||||
bool[] memory includeMap = new bool[](1); |
||||
if (includeMap[0]) { |
||||
revert(); |
||||
} |
||||
return true; |
||||
} |
||||
} |
Loading…
Reference in new issue