mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Test updates for recent versions of aleth.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user