aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/liblll/ExecutionFramework.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/liblll/ExecutionFramework.h b/test/liblll/ExecutionFramework.h
index 37162e7f..58e1f0ad 100644
--- a/test/liblll/ExecutionFramework.h
+++ b/test/liblll/ExecutionFramework.h
@@ -52,6 +52,9 @@ public:
std::map<std::string, Address> const& _libraryAddresses = std::map<std::string, Address>()
) override
{
+ BOOST_REQUIRE(_contractName.empty());
+ BOOST_REQUIRE(_libraryAddresses.empty());
+
std::vector<std::string> errors;
bytes bytecode = eth::compileLLL(_sourceCode, m_optimize, &errors);
if (!errors.empty())