You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
542 B
15 lines
542 B
8 years ago
|
/* eslint-env node, mocha */
|
||
8 years ago
|
|
||
5 years ago
|
/*const solc = require('solc');
|
||
8 years ago
|
const getInstrumentedVersion = require('./../lib/instrumentSolidity.js');
|
||
8 years ago
|
const util = require('./util/util.js');
|
||
8 years ago
|
|
||
8 years ago
|
describe('return statements', () => {
|
||
|
it('should compile after instrumenting function that returns true', () => {
|
||
|
const contract = util.getCode('return/return.sol');
|
||
8 years ago
|
const info = getInstrumentedVersion(contract, 'test.sol');
|
||
6 years ago
|
const output = JSON.parse(solc.compile(util.codeToCompilerInput(info.contract)));
|
||
8 years ago
|
util.report(output.errors);
|
||
8 years ago
|
});
|
||
5 years ago
|
});*/
|