Merge pull request #7159 from ethereum/always_demand_tests

Make sure a semantic test file always contains function calls
This commit is contained in:
chriseth
2019-08-01 15:12:13 +02:00
committed by GitHub
+1
View File
@@ -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)