From a1fc99968fa0e776df70a9f61f978d30cc06c8d2 Mon Sep 17 00:00:00 2001 From: smol-ninja Date: Thu, 20 Feb 2025 11:31:38 +0000 Subject: [PATCH] rename src/test to src/tests --- README.md | 2 +- src/{test => tests}/BaseScript.sol | 0 src/{test => tests}/BaseTest.sol | 0 tests/Unit.t.sol | 2 +- tests/concrete/base-script/BaseScript.t.sol | 2 +- 5 files changed, 3 insertions(+), 3 deletions(-) rename src/{test => tests}/BaseScript.sol (100%) rename src/{test => tests}/BaseTest.sol (100%) diff --git a/README.md b/README.md index 687f4a1..c9cf314 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ This repo contains the following subdirectories: - `src/interfaces`: Interfaces for [`Adminable`](src/Adminable.sol) and [`Batch`](src/Batch.sol) contracts. - `src/mocks`: Mock contracts used by external projects in tests. -- `src/test`: Helper contracts used by external projects in tests and deployment scripts. +- `src/tests`: Helper contracts used by external projects in tests and deployment scripts. ## Install diff --git a/src/test/BaseScript.sol b/src/tests/BaseScript.sol similarity index 100% rename from src/test/BaseScript.sol rename to src/tests/BaseScript.sol diff --git a/src/test/BaseTest.sol b/src/tests/BaseTest.sol similarity index 100% rename from src/test/BaseTest.sol rename to src/tests/BaseTest.sol diff --git a/tests/Unit.t.sol b/tests/Unit.t.sol index 7f50736..2f3cada 100644 --- a/tests/Unit.t.sol +++ b/tests/Unit.t.sol @@ -2,7 +2,7 @@ pragma solidity >=0.8.22 <0.9.0; import { StdAssertions } from "forge-std/src/StdAssertions.sol"; -import { BaseTest } from "src/test/BaseTest.sol"; +import { BaseTest } from "src/tests/BaseTest.sol"; abstract contract Unit_Test is BaseTest, StdAssertions { address internal admin; diff --git a/tests/concrete/base-script/BaseScript.t.sol b/tests/concrete/base-script/BaseScript.t.sol index d6ca823..2603255 100644 --- a/tests/concrete/base-script/BaseScript.t.sol +++ b/tests/concrete/base-script/BaseScript.t.sol @@ -4,7 +4,7 @@ pragma solidity >=0.8.22 <0.9.0; import { Strings } from "@openzeppelin/contracts/utils/Strings.sol"; import { StdAssertions } from "forge-std/src/StdAssertions.sol"; -import { BaseScript } from "src/test/BaseScript.sol"; +import { BaseScript } from "src/tests/BaseScript.sol"; contract BaseScriptMock is BaseScript { }