aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/libsolidity/JSONCompiler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/libsolidity/JSONCompiler.cpp b/test/libsolidity/JSONCompiler.cpp
index b93aa093..46c718d7 100644
--- a/test/libsolidity/JSONCompiler.cpp
+++ b/test/libsolidity/JSONCompiler.cpp
@@ -26,6 +26,7 @@
#include <libdevcore/JSON.h>
#include "../Metadata.h"
+#include "../TestHelper.h"
using namespace std;
@@ -46,7 +47,7 @@ namespace
Json::Value compile(string const& _input)
{
- string output(compileJSONMulti(_input.c_str(), false));
+ string output(compileJSONMulti(_input.c_str(), dev::test::Options::get().optimize));
Json::Value ret;
BOOST_REQUIRE(Json::Reader().parse(output, ret, false));
return ret;