From c4b9be04d52b06bca91b3b372ea934a4fa6e2b23 Mon Sep 17 00:00:00 2001 From: 0xcentur1on Date: Mon, 14 Aug 2023 17:43:50 -0300 Subject: [PATCH] fix: import test --- src/Cent.t.sol | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Cent.t.sol b/src/Cent.t.sol index d6099f8..e612c56 100644 --- a/src/Cent.t.sol +++ b/src/Cent.t.sol @@ -1,8 +1,10 @@ // SPDX-License-Identifier: MIT pragma solidity 0.8.19; -import "forge-std/Test.sol"; -import "./Cent.sol"; +import {Test} from "forge-std/Test.sol"; +import {console2} from "forge-std/console2.sol"; + +import {CenturionDai} from "./Cent.sol"; //CenturionDai test contract CenturionDaiTest is Test { @@ -23,7 +25,7 @@ contract CenturionDaiTest is Test { } function testBalance() public { - uint256 supposedBalance = 1000 * uint256(10 ** template.decimals()); + uint256 supposedBalance = 1000 * uint256(10**template.decimals()); uint256 balance = template.balanceOf(sender); console2.log("Balances: %s - %s", supposedBalance, balance); assertEq(supposedBalance, balance);