aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests/zeppelin/DayLimit.sol
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-07-12 07:49:00 +0800
committerchriseth <chris@ethereum.org>2018-07-16 21:33:31 +0800
commitbdac82ecdbb6a4d27e9c5b11ce48d2d653a652e6 (patch)
treedb49e85ba17521aa55af555ab7b064894e587fbb /test/compilationTests/zeppelin/DayLimit.sol
parentaa08460d94f0e3ac8e067f89786175fb5ebba73b (diff)
downloaddexon-solidity-bdac82ecdbb6a4d27e9c5b11ce48d2d653a652e6.tar
dexon-solidity-bdac82ecdbb6a4d27e9c5b11ce48d2d653a652e6.tar.gz
dexon-solidity-bdac82ecdbb6a4d27e9c5b11ce48d2d653a652e6.tar.bz2
dexon-solidity-bdac82ecdbb6a4d27e9c5b11ce48d2d653a652e6.tar.lz
dexon-solidity-bdac82ecdbb6a4d27e9c5b11ce48d2d653a652e6.tar.xz
dexon-solidity-bdac82ecdbb6a4d27e9c5b11ce48d2d653a652e6.tar.zst
dexon-solidity-bdac82ecdbb6a4d27e9c5b11ce48d2d653a652e6.zip
Replace throw with revert() in compilation tests
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();
}
_;
}