Merge pull request #35 from JoinColony/solidity-parser-pkg

Fix solidity-parser pkg version
uport
area 8 years ago committed by GitHub
commit 13aba8aab5
  1. 4
      package.json
  2. 2
      test/statements.js

@ -7,7 +7,7 @@
"test": "test" "test": "test"
}, },
"scripts": { "scripts": {
"test": "mocha --timeout 10000" "test": "mocha --timeout 15000"
}, },
"author": "", "author": "",
"license": "ISC", "license": "ISC",
@ -16,7 +16,7 @@
"istanbul": "^0.4.5", "istanbul": "^0.4.5",
"shelljs": "^0.7.4", "shelljs": "^0.7.4",
"sol-explore": "^1.6.2", "sol-explore": "^1.6.2",
"solidity-parser": "git+https://github.com/ConsenSys/solidity-parser.git#master" "solidity-parser": "^0.2.0"
}, },
"devDependencies": { "devDependencies": {
"crypto-js": "^3.1.9-1", "crypto-js": "^3.1.9-1",

@ -44,7 +44,7 @@ describe('generic statements', function(){
var output = solc.compile(info.contract, 1); var output = solc.compile(info.contract, 1);
util.report(output.errors); util.report(output.errors);
}) })
it.only('should cover a statement following a close brace', (done) => { it('should cover a statement following a close brace', (done) => {
const contract = util.getCode('statements/post-close-brace.sol'); const contract = util.getCode('statements/post-close-brace.sol');
const info = getInstrumentedVersion(contract, "test.sol", true); const info = getInstrumentedVersion(contract, "test.sol", true);
const coverage = new CoverageMap(); const coverage = new CoverageMap();

Loading…
Cancel
Save