Skip to content

Commit

Permalink
feat: stop using console2 (#6804)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored Jan 15, 2024
1 parent f208187 commit 24abca6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/forge/assets/CounterTemplate.s.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;

import {Script, console2} from "forge-std/Script.sol";
import {Script, console} from "forge-std/Script.sol";

contract CounterScript is Script {
function setUp() public {}
Expand Down
2 changes: 1 addition & 1 deletion crates/forge/assets/CounterTemplate.t.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;

import {Test, console2} from "forge-std/Test.sol";
import {Test, console} from "forge-std/Test.sol";
import {Counter} from "../src/Counter.sol";

contract CounterTest is Test {
Expand Down
4 changes: 2 additions & 2 deletions crates/forge/assets/generated/TestTemplate.t.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;

import {Test, console2} from "forge-std/Test.sol";
import {Test, console} from "forge-std/Test.sol";
import {{contract_name}} from "../src/{contract_name}.sol";

contract {contract_name}Test is Test {
Expand All @@ -10,4 +10,4 @@ contract {contract_name}Test is Test {
function setUp() public {
{instance_name} = new {contract_name}();
}
}
}

0 comments on commit 24abca6

Please sign in to comment.