From 7e60138e9d1a19004b1ad5337d2ee751a777129f Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Mon, 21 Jan 2019 16:37:50 +0100 Subject: Fix imports in TestContracts and testLibBytes to be relative. This way they show up correctly in coverage reports --- contracts/utils/CHANGELOG.json | 9 +++++++++ contracts/utils/contracts/test/TestConstants/TestConstants.sol | 2 +- contracts/utils/contracts/test/TestLibBytes/TestLibBytes.sol | 2 +- 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,4 +1,13 @@ [ + { + "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 { -- cgit v1.2.3