aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-11-30 21:16:59 +0800
committerchriseth <c@ethdev.com>2016-12-01 23:04:00 +0800
commitc88f34c7819f927cec1a2f1f93fc79d5262736bc (patch)
tree2dcbaca936e22c68f13809b64039abcff99de8fc
parent1ad9640fa3547e30568ad62575961dbc4d1f4d7f (diff)
downloaddexon-solidity-c88f34c7819f927cec1a2f1f93fc79d5262736bc.tar.gz
dexon-solidity-c88f34c7819f927cec1a2f1f93fc79d5262736bc.tar.zst
dexon-solidity-c88f34c7819f927cec1a2f1f93fc79d5262736bc.zip
Remove unneeded optimised test from EndToEndTest
-rw-r--r--test/libsolidity/SolidityEndToEndTest.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp
index cebd9dfe..aa1eb20a 100644
--- a/test/libsolidity/SolidityEndToEndTest.cpp
+++ b/test/libsolidity/SolidityEndToEndTest.cpp
@@ -7820,13 +7820,6 @@ BOOST_AUTO_TEST_CASE(mem_resize_is_not_paid_at_call)
u160 cAddr = m_contractAddress;
compileAndRun(sourceCode, 0, "D");
BOOST_CHECK(callContractFunction("f(address)", cAddr) == encodeArgs(u256(7)));
-
- m_optimize = true;
-
- compileAndRun(sourceCode, 0, "C");
- u160 cAddrOpt = m_contractAddress;
- compileAndRun(sourceCode, 0, "D");
- BOOST_CHECK(callContractFunction("f(address)", cAddrOpt) == encodeArgs(u256(7)));
}
BOOST_AUTO_TEST_CASE(calling_uninitialized_function)