From c08d68755b6023c268e36633d7c2c9b707acc167 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Guti=C3=A9rrez?= Date: Wed, 4 Apr 2018 22:47:04 +0200 Subject: [PATCH] Fixed Solidity unit tests with coverage. --- .solcover.js | 3 +++ contracts/KudosPollFactory.sol | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .solcover.js diff --git a/.solcover.js b/.solcover.js new file mode 100644 index 0000000..fc573f9 --- /dev/null +++ b/.solcover.js @@ -0,0 +1,3 @@ +module.exports = { + copyPackages: ['zeppelin-solidity'], +}; diff --git a/contracts/KudosPollFactory.sol b/contracts/KudosPollFactory.sol index a0b9ed6..9d56dcc 100644 --- a/contracts/KudosPollFactory.sol +++ b/contracts/KudosPollFactory.sol @@ -1,5 +1,5 @@ pragma solidity ^0.4.18; -pragma experimental ABIEncoderV2; +pragma experimental "ABIEncoderV2"; import "zeppelin-solidity/contracts/token/ERC20/BurnableToken.sol"; import "zeppelin-solidity/contracts/ownership/Ownable.sol";