pull/333/head
cgewecke 5 years ago
parent 902cf85345
commit de233a93b4
  1. 0
      test/sources/statements/oraclize-plus.sol
  2. 7
      test/statements.js

@ -59,7 +59,12 @@ describe('generic statements', () => {
util.report(output.errors);
});
it.only('should compile after instrumenting many unbracketed statements', () => {
const contract = util.getCode('statements/oraclize-plus.sol');
const info = getInstrumentedVersion(contract, filePath);
const output = JSON.parse(solc.compile(util.codeToCompilerInput(info.contract)));
util.report(output.errors);
});
it('should NOT pass tests if the contract has a compilation error', () => {
const contract = util.getCode('statements/compilation-error.sol');

Loading…
Cancel
Save