mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #7159 from ethereum/always_demand_tests
Make sure a semantic test file always contains function calls
This commit is contained in:
commit
742b4271fd
@ -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