Commit 194c59a3 authored by Michael Fröwis's avatar Michael Fröwis Committed by chriseth

Static Analysis: us solc/wrapper

parent dc7dc119
......@@ -3,7 +3,8 @@ var test = require('tape')
var StatRunner = require('../../src/app/staticanalysis/staticAnalysisRunner')
// const util = require('util')
var solc = require('solc')
var solc = require('solc/wrapper')
var compiler = solc(require('../../soljson'))
var fs = require('fs')
var path = require('path')
......@@ -29,7 +30,7 @@ var testFileAsts = {}
testFiles.forEach((fileName) => {
var contents = fs.readFileSync(path.join(__dirname, 'test-contracts', fileName), 'utf8')
testFileAsts[fileName] = solc.compile(contents, 0)
testFileAsts[fileName] = compiler.compile(contents, 0)
})
test('Integration test thisLocal.js', function (t) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment