mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	fixing solidity tests
This commit is contained in:
		
							parent
							
								
									17de09bbb6
								
							
						
					
					
						commit
						4046174ea2
					
				| @ -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