Console_Log

This commit is contained in:
David E. Perez Negron R 2023-08-24 18:37:12 -06:00
parent dd2308a1c2
commit 6091138690
2 changed files with 14 additions and 2 deletions

View File

@ -4,6 +4,6 @@ import "solmate/tokens/ERC20.sol";
contract Token is ERC20("name", "symbol", 18) {} contract Token is ERC20("name", "symbol", 18) {}
import "@openzeppelin/contracts/access/Ownable.sol"; //import "@openzeppelin/contracts/access/Ownable.sol";
contract TestOz is Ownable {} //contract TestOz is Ownable {}

12
test/Console.t.sol Normal file
View File

@ -0,0 +1,12 @@
pragma solidity ^0.8.20;
import "forge-std/Test.sol";
contract ConsoleTest is Test {
function testLogSomething() public {
console.log("Log something here", 567);
int x = -1;
console.logInt(x);
}
}