mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Make sure a semantic test file always contains function calls
Because if not, the code isn't even compiled.
This commit is contained in:
		
							parent
							
								
									04f298fd0e
								
							
						
					
					
						commit
						c920b50ebe
					
				| @ -62,6 +62,7 @@ SemanticTest::SemanticTest(string const& _filename, string const& _ipcPath, lang | ||||
| 		m_settings.erase("compileViaYul"); | ||||
| 	} | ||||
| 	parseExpectations(file); | ||||
| 	soltestAssert(!m_tests.empty(), "No tests specified in " + _filename); | ||||
| } | ||||
| 
 | ||||
| TestCase::TestResult SemanticTest::run(ostream& _stream, string const& _linePrefix, bool _formatted) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user