-
Notifications
You must be signed in to change notification settings - Fork 10
Erros in npm test on ethereum-testing-reference project #15
Description
I've cloned the project and run npm install. Trying npm test, I get what follows.
I've changed the solc version in package.json to 0.4.10. Nothing got different.
starter@ test /root/workspace/ethereum-testing-reference
mocha test/**/*-test.js --reporter mochawesome
Compiling files: ["ContractA.sol","ContractB.sol"]
/root/workspace/ethereum-testing-reference/node_modules/ethereum-sandbox/node_modules/solc/soljson.js:1
(function (exports, require, module, __filename, __dirname) { var Module;if(!Module)Module=(typeof Module!=="undefined"?Module:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=typeof window==="object";var ENVIRONMENT_IS_WORKER=typeof importScripts==="function";var ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function"&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;var ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;if(ENVIRONMENT_IS_NODE){if(!Module["print"])Module["print"]=function print(x){process["stdout"].write(x+"\n")};if(!Module["printErr"])Module["printErr"]=function printErr(x){process["stderr"].write(x+"\n")};var nodeFS=require("fs");var nodePath=require("path");Module["read"]=function read(filename,binary){filename=nodePath"normalize"
std.sol:5:10: Error: Expected identifier, got 'Abstract'
contract abstract {}
^
npm ERR! Test failed. See above for more details.