aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/SolidityEndToEndTest.cpp
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-05-15 18:23:13 +0800
committerLiana Husikyan <liana@ethdev.com>2015-06-01 19:06:12 +0800
commit8967476a8d5371e81e224ec284fb9100816242c7 (patch)
tree9551d15901b2218cfd1eb1a3b1ece4d551616339 /libsolidity/SolidityEndToEndTest.cpp
parent75ff86ab91bd382288a2f9a53e3be9084f35b574 (diff)
downloaddexon-solidity-8967476a8d5371e81e224ec284fb9100816242c7.tar
dexon-solidity-8967476a8d5371e81e224ec284fb9100816242c7.tar.gz
dexon-solidity-8967476a8d5371e81e224ec284fb9100816242c7.tar.bz2
dexon-solidity-8967476a8d5371e81e224ec284fb9100816242c7.tar.lz
dexon-solidity-8967476a8d5371e81e224ec284fb9100816242c7.tar.xz
dexon-solidity-8967476a8d5371e81e224ec284fb9100816242c7.tar.zst
dexon-solidity-8967476a8d5371e81e224ec284fb9100816242c7.zip
added error jump instead of STOP instraction in case of exception
Diffstat (limited to 'libsolidity/SolidityEndToEndTest.cpp')
-rw-r--r--libsolidity/SolidityEndToEndTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/SolidityEndToEndTest.cpp b/libsolidity/SolidityEndToEndTest.cpp
index 503615a5..f8d20d70 100644
--- a/libsolidity/SolidityEndToEndTest.cpp
+++ b/libsolidity/SolidityEndToEndTest.cpp
@@ -1784,6 +1784,7 @@ BOOST_AUTO_TEST_CASE(contracts_as_addresses)
}
)";
compileAndRun(sourceCode, 20);
+ auto res = callContractFunction("getBalance()");
BOOST_REQUIRE(callContractFunction("getBalance()") == encodeArgs(u256(20 - 5), u256(5)));
}