aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityEndToEndTest.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-12-13 01:41:35 +0800
committerGitHub <noreply@github.com>2018-12-13 01:41:35 +0800
commit17bf164afeb067d3570f0d253f059be6fb3aac4b (patch)
treeb16b078a99ef5567f0781944c1e7e8463b49b2df /test/libsolidity/SolidityEndToEndTest.cpp
parent1c8c8734654a4bea8270beff7e1a295323002af3 (diff)
parent123d33ad41b1dea43d7b6aee4b31bc6cf373bf4a (diff)
downloaddexon-solidity-17bf164afeb067d3570f0d253f059be6fb3aac4b.tar.gz
dexon-solidity-17bf164afeb067d3570f0d253f059be6fb3aac4b.tar.zst
dexon-solidity-17bf164afeb067d3570f0d253f059be6fb3aac4b.zip
Merge pull request #4951 from ethereum/alethUpdates
Use current aleth release for testing.
Diffstat (limited to 'test/libsolidity/SolidityEndToEndTest.cpp')
-rw-r--r--test/libsolidity/SolidityEndToEndTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp
index dfa60fc5..8d219d16 100644
--- a/test/libsolidity/SolidityEndToEndTest.cpp
+++ b/test/libsolidity/SolidityEndToEndTest.cpp
@@ -3039,7 +3039,8 @@ BOOST_AUTO_TEST_CASE(gaslimit)
}
)";
compileAndRun(sourceCode);
- ABI_CHECK(callContractFunction("f()"), encodeArgs(gasLimit()));
+ auto result = callContractFunction("f()");
+ ABI_CHECK(result, encodeArgs(gasLimit()));
}
BOOST_AUTO_TEST_CASE(gasprice)