aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2019-01-21 23:37:50 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2019-01-21 23:37:50 +0800
commit7e60138e9d1a19004b1ad5337d2ee751a777129f (patch)
tree170aca774e56d3394ba3dee507c6ee0eb8b13c54
parente5c4390489b02f87a4d497095ea83d0737047afc (diff)
downloaddexon-0x-contracts-7e60138e9d1a19004b1ad5337d2ee751a777129f.tar.gz
dexon-0x-contracts-7e60138e9d1a19004b1ad5337d2ee751a777129f.tar.zst
dexon-0x-contracts-7e60138e9d1a19004b1ad5337d2ee751a777129f.zip
Fix imports in TestContracts and testLibBytes to be relative. This way they show up correctly in coverage reports
-rw-r--r--contracts/utils/CHANGELOG.json9
-rw-r--r--contracts/utils/contracts/test/TestConstants/TestConstants.sol2
-rw-r--r--contracts/utils/contracts/test/TestLibBytes/TestLibBytes.sol2
3 files changed, 11 insertions, 2 deletions
diff --git a/contracts/utils/CHANGELOG.json b/contracts/utils/CHANGELOG.json
index 724ab1e4a..0658d1239 100644
--- a/contracts/utils/CHANGELOG.json
+++ b/contracts/utils/CHANGELOG.json
@@ -1,5 +1,14 @@
[
{
+ "version": "2.0.1",
+ "changes": [
+ {
+ "note": "Fix imports in `TestConstants` and `TestLibBytes` to be relative. This way they show up correctly in coverage reports",
+ "pr": "TODO"
+ }
+ ]
+ },
+ {
"version": "2.0.0",
"changes": [
{
diff --git a/contracts/utils/contracts/test/TestConstants/TestConstants.sol b/contracts/utils/contracts/test/TestConstants/TestConstants.sol
index 3c852173b..1275d007b 100644
--- a/contracts/utils/contracts/test/TestConstants/TestConstants.sol
+++ b/contracts/utils/contracts/test/TestConstants/TestConstants.sol
@@ -18,7 +18,7 @@
pragma solidity 0.4.24;
-import "@0x/contracts-utils/contracts/utils/LibBytes/LibBytes.sol";
+import "../../utils/LibBytes/LibBytes.sol";
// solhint-disable max-line-length
diff --git a/contracts/utils/contracts/test/TestLibBytes/TestLibBytes.sol b/contracts/utils/contracts/test/TestLibBytes/TestLibBytes.sol
index 444a3e717..00d861e61 100644
--- a/contracts/utils/contracts/test/TestLibBytes/TestLibBytes.sol
+++ b/contracts/utils/contracts/test/TestLibBytes/TestLibBytes.sol
@@ -18,7 +18,7 @@
pragma solidity 0.4.24;
-import "@0x/contracts-utils/contracts/utils/LibBytes/LibBytes.sol";
+import "../../utils/LibBytes/LibBytes.sol";
contract TestLibBytes {