diff options
author | Daniel Kirchner <daniel@ekpyron.org> | 2018-09-12 20:35:41 +0800 |
---|---|---|
committer | Daniel Kirchner <daniel@ekpyron.org> | 2018-12-11 11:47:05 +0800 |
commit | 6d82ad13386493b80f303eb7dcda07095a62e1e8 (patch) | |
tree | 3d8120924b26f5a9bbcceaea1adeefc87d7a201c /test/libsolidity | |
parent | baaefb4b422fb22a89af08b79e6595e7859d2323 (diff) | |
download | dexon-solidity-6d82ad13386493b80f303eb7dcda07095a62e1e8.tar.gz dexon-solidity-6d82ad13386493b80f303eb7dcda07095a62e1e8.tar.zst dexon-solidity-6d82ad13386493b80f303eb7dcda07095a62e1e8.zip |
Test updates for recent versions of aleth.
Diffstat (limited to 'test/libsolidity')
-rw-r--r-- | test/libsolidity/SolidityEndToEndTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp index c6135a72..28b6b7b5 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) |