From aec2cd01390169c0a08fbc027e2fcd967e61182a Mon Sep 17 00:00:00 2001 From: shuhei tanaka Date: Sat, 12 Oct 2024 16:08:49 +0700 Subject: [PATCH] chore: Fix test --- test/{Base.sol => Base.t.sol} | 0 test/CEP.t.sol | 6 +++++- 2 files changed, 5 insertions(+), 1 deletion(-) rename test/{Base.sol => Base.t.sol} (100%) diff --git a/test/Base.sol b/test/Base.t.sol similarity index 100% rename from test/Base.sol rename to test/Base.t.sol diff --git a/test/CEP.t.sol b/test/CEP.t.sol index a62fd8b..b9a7c87 100644 --- a/test/CEP.t.sol +++ b/test/CEP.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity >=0.8.25; -import { BaseTest } from "./Base.sol"; +import { BaseTest } from "./Base.t.sol"; import { console2 } from "forge-std/console2.sol"; import "../src/CEP.sol"; @@ -16,4 +16,8 @@ contract CEPTest is BaseTest { function setUp() public virtual { voteToken = new VotingCEPToken(owner, owner, owner); } + + function testDeploy() external view { + vm.assertFalse(address(cep) != address(0), "CEP should be deployed"); + } }