diff --git a/test/helpers/ReentrancyAttack.sol b/test/helpers/ReentrancyAttack.sol index 14458144f..37b5cffd7 100644 --- a/test/helpers/ReentrancyAttack.sol +++ b/test/helpers/ReentrancyAttack.sol @@ -3,7 +3,7 @@ pragma solidity ^0.4.11; contract ReentrancyAttack { function callSender(bytes4 data) { - assert(msg.sender.call(data)); + require(msg.sender.call(data)); } } diff --git a/test/helpers/ReentrancyMock.sol b/test/helpers/ReentrancyMock.sol index 178b14cf1..63162fd92 100644 --- a/test/helpers/ReentrancyMock.sol +++ b/test/helpers/ReentrancyMock.sol @@ -27,7 +27,7 @@ contract ReentrancyMock is ReentrancyGuard { if(n > 0) { count(); bool result = this.call(func, n - 1); - assert(result == true); + require(result == true); } }