mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge branch 'whizz' of github.com:ethereum/cpp-ethereum into whizz
This commit is contained in:
commit
189b298ae1
@ -1188,7 +1188,7 @@ BOOST_AUTO_TEST_CASE(now)
|
||||
{
|
||||
char const* sourceCode = "contract test {\n"
|
||||
" function someInfo() returns (bool success) {\n"
|
||||
" return block.timestamp() == now && now > 0;\n"
|
||||
" return block.timestamp == now && now > 0;\n"
|
||||
" }\n"
|
||||
"}\n";
|
||||
compileAndRun(sourceCode);
|
||||
|
@ -41,7 +41,11 @@ namespace test
|
||||
class ExecutionFramework
|
||||
{
|
||||
public:
|
||||
ExecutionFramework() { g_logVerbosity = 0; }
|
||||
ExecutionFramework()
|
||||
{
|
||||
g_logVerbosity = 0;
|
||||
m_state.resetCurrent();
|
||||
}
|
||||
|
||||
bytes const& compileAndRunWithoutCheck(
|
||||
std::string const& _sourceCode,
|
||||
|
Loading…
Reference in New Issue
Block a user