From 612300caf597c4a1182fd417025b85aa5a1f8e12 Mon Sep 17 00:00:00 2001 From: Sujith Date: Tue, 22 Aug 2023 19:10:08 +0530 Subject: [PATCH] chore: try relative imports --- test/Setup.t.sol | 14 +++++++------- test/success-tests/SimpleMMA.t.sol | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/test/Setup.t.sol b/test/Setup.t.sol index 0bf92f6..22b05d6 100644 --- a/test/Setup.t.sol +++ b/test/Setup.t.sol @@ -10,15 +10,15 @@ import {WormholeHelper} from "pigeon/wormhole/WormholeHelper.sol"; import {AxelarHelper} from "pigeon/axelar/AxelarHelper.sol"; /// local imports -import {WormholeSenderAdapter} from "../src/adapters/wormhole/WormholeSenderAdapter.sol"; -import {WormholeReceiverAdapter} from "../src/adapters/wormhole/WormholeReceiverAdapter.sol"; +import {WormholeSenderAdapter} from "src/adapters/wormhole/WormholeSenderAdapter.sol"; +import {WormholeReceiverAdapter} from "src/adapters/wormhole/WormholeReceiverAdapter.sol"; -import {AxelarSenderAdapter} from "../src/adapters/axelar/AxelarSenderAdapter.sol"; -import {AxelarReceiverAdapter} from "../src/adapters/axelar/AxelarReceiverAdapter.sol"; +import {AxelarSenderAdapter} from "src/adapters/axelar/AxelarSenderAdapter.sol"; +import {AxelarReceiverAdapter} from "src/adapters/axelar/AxelarReceiverAdapter.sol"; -import {GAC} from "../src/controllers/GAC.sol"; -import {MultiMessageSender} from "../src/MultiMessageSender.sol"; -import {MultiMessageReceiver} from "../src/MultiMessageReceiver.sol"; +import {GAC} from "src/controllers/GAC.sol"; +import {MultiMessageSender} from "src/MultiMessageSender.sol"; +import {MultiMessageReceiver} from "src/MultiMessageReceiver.sol"; /// @dev can inherit the setup in tests abstract contract Setup is Test { diff --git a/test/success-tests/SimpleMMA.t.sol b/test/success-tests/SimpleMMA.t.sol index bd0c1c5..c25379e 100644 --- a/test/success-tests/SimpleMMA.t.sol +++ b/test/success-tests/SimpleMMA.t.sol @@ -7,8 +7,8 @@ import {Vm} from "forge-std/Test.sol"; /// local imports import "../Setup.t.sol"; import "../mock/MockUniswapReceiver.sol"; -import {MultiMessageSender} from "../../src/MultiMessageSender.sol"; -import {MultiMessageReceiver} from "../../src/MultiMessageReceiver.sol"; +import {MultiMessageSender} from "src/MultiMessageSender.sol"; +import {MultiMessageReceiver} from "src/MultiMessageReceiver.sol"; contract MMA is Setup { MockUniswapReceiver target;