mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge branch 'develop' into p2p
This commit is contained in:
commit
5f9a740fd6
@ -232,7 +232,7 @@ BOOST_AUTO_TEST_CASE(const_function)
|
||||
{
|
||||
char const* sourceCode = "contract test {\n"
|
||||
" function foo(uint a, uint b) returns(uint d) { return a + b; }\n"
|
||||
" function boo(uint32 a) const returns(uint b) { return a * 4; }\n"
|
||||
" function boo(uint32 a) constant returns(uint b) { return a * 4; }\n"
|
||||
"}\n";
|
||||
|
||||
char const* interface = R"([
|
||||
|
@ -91,7 +91,7 @@ BOOST_AUTO_TEST_CASE(empty_function)
|
||||
{
|
||||
char const* text = "contract test {\n"
|
||||
" uint256 stateVar;\n"
|
||||
" function functionName(hash160 arg1, address addr) const\n"
|
||||
" function functionName(hash160 arg1, address addr) constant\n"
|
||||
" returns (int id)\n"
|
||||
" { }\n"
|
||||
"}\n";
|
||||
|
@ -19,7 +19,10 @@
|
||||
* @date 2014
|
||||
*/
|
||||
|
||||
#if ETH_JSONRPC
|
||||
// @debris disabled as tests fail with:
|
||||
// unknown location(0): fatal error in "jsonrpc_setMining": std::exception: Exception -32003 : Client connector error: : libcurl error: 28
|
||||
// /home/gav/Eth/cpp-ethereum/test/jsonrpc.cpp(169): last checkpoint
|
||||
#if ETH_JSONRPC && 0
|
||||
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <boost/lexical_cast.hpp>
|
||||
|
Loading…
Reference in New Issue
Block a user