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
commit 742b4271fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)