Skip to content

Commit

Permalink
refactor: use relative paths for compatibility with solc <0.6.9 (no -…
Browse files Browse the repository at this point in the history
…-base-path flag)
  • Loading branch information
mds1 committed Oct 25, 2022
1 parent a897bdf commit 395c52d
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/StdChains.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity >=0.6.2 <0.9.0;
pragma experimental ABIEncoderV2;

import "src/Vm.sol";
import "./Vm.sol";

/// @dev To add a new chain:
/// 1. Add it into the `Chains` struct, named using CamelCase.
Expand Down
2 changes: 1 addition & 1 deletion test/StdAssertions.t.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.7.0 <0.9.0;

import "src/Test.sol";
import "../src/Test.sol";

contract StdAssertionsTest is Test {
string constant CUSTOM_ERROR = "guh!";
Expand Down
2 changes: 1 addition & 1 deletion test/StdChains.t.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.2 <0.9.0;

import "src/Test.sol";
import "../src/Test.sol";

contract StdChainsTest is Test {
function testChainRpcInitialization() public {
Expand Down
6 changes: 3 additions & 3 deletions test/StdCheats.t.sol
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.7.0 <0.9.0;

import "src/StdCheats.sol";
import "src/Test.sol";
import "src/StdJson.sol";
import "../src/StdCheats.sol";
import "../src/Test.sol";
import "../src/StdJson.sol";

contract StdCheatsTest is Test {
Bar test;
Expand Down
4 changes: 2 additions & 2 deletions test/StdError.t.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;

import "src/StdError.sol";
import "src/Test.sol";
import "../src/StdError.sol";
import "../src/Test.sol";

contract StdErrorsTest is Test {
ErrorsTest test;
Expand Down
4 changes: 2 additions & 2 deletions test/StdMath.t.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;

import "src/StdMath.sol";
import "src/Test.sol";
import "../src/StdMath.sol";
import "../src/Test.sol";

contract StdMathTest is Test {
function testGetAbs() external {
Expand Down
4 changes: 2 additions & 2 deletions test/StdStorage.t.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.7.0 <0.9.0;

import "src/StdStorage.sol";
import "src/Test.sol";
import "../src/StdStorage.sol";
import "../src/Test.sol";

contract StdStorageTest is Test {
using stdStorage for StdStorage;
Expand Down
2 changes: 1 addition & 1 deletion test/StdUtils.t.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.7.0 <0.9.0;

import "src/Test.sol";
import "../src/Test.sol";

contract StdUtilsTest is Test {
function testBound() public {
Expand Down

0 comments on commit 395c52d

Please sign in to comment.