aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityEndToEndTest.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-08-17 01:03:00 +0800
committerchriseth <c@ethdev.com>2016-08-17 01:04:11 +0800
commit15b85e2ea809ab09ec78955e80666b64b80ddbf1 (patch)
tree667f65eae236f50593739cf26537087d517010b4 /test/libsolidity/SolidityEndToEndTest.cpp
parent6df672816515aece1a3a9f018761450c56e05320 (diff)
downloaddexon-solidity-15b85e2ea809ab09ec78955e80666b64b80ddbf1.tar.gz
dexon-solidity-15b85e2ea809ab09ec78955e80666b64b80ddbf1.tar.zst
dexon-solidity-15b85e2ea809ab09ec78955e80666b64b80ddbf1.zip
Fix tests.
Diffstat (limited to 'test/libsolidity/SolidityEndToEndTest.cpp')
-rw-r--r--test/libsolidity/SolidityEndToEndTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp
index 1b7c5ea4..e4237c23 100644
--- a/test/libsolidity/SolidityEndToEndTest.cpp
+++ b/test/libsolidity/SolidityEndToEndTest.cpp
@@ -2410,7 +2410,7 @@ BOOST_AUTO_TEST_CASE(function_modifier_overriding)
modifier mod { _ }
}
contract C is A {
- modifier mod { }
+ modifier mod { if (false) _ }
}
)";
compileAndRun(sourceCode);
@@ -2427,7 +2427,7 @@ BOOST_AUTO_TEST_CASE(function_modifier_calling_functions_in_creation_context)
function f2() { data |= 0x20; }
function f3() { }
modifier mod1 { f2(); _ }
- modifier mod2 { f3(); }
+ modifier mod2 { f3(); if (false) _ }
function getData() returns (uint r) { return data; }
}
contract C is A {