aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests/zeppelin/DayLimit.sol
diff options
context:
space:
mode:
Diffstat (limited to 'test/compilationTests/zeppelin/DayLimit.sol')
-rw-r--r--test/compilationTests/zeppelin/DayLimit.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compilationTests/zeppelin/DayLimit.sol b/test/compilationTests/zeppelin/DayLimit.sol
index 5a2937b5..bc576c89 100644
--- a/test/compilationTests/zeppelin/DayLimit.sol
+++ b/test/compilationTests/zeppelin/DayLimit.sol
@@ -68,7 +68,7 @@ contract DayLimit {
*/
modifier limitedDaily(uint256 _value) {
if (!underLimit(_value)) {
- throw;
+ revert();
}
_;
}