Skip to content

Commit

Permalink
Copy solidity test files conditionally (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 authored Nov 26, 2024
1 parent d7d9321 commit eaa39fc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
pragma solidity ^0.8.13;

import "forge-std/Test.sol";
// import "../contracts/YourContract.sol";
import "../contracts/YourContract.sol";

contract YourContractTest is Test {
/* YourContract public yourContract;
YourContract public yourContract;

function setUp() public {
yourContract = new YourContract(vm.addr(1));
Expand All @@ -16,5 +16,5 @@ contract YourContractTest is Test {
keccak256(bytes(yourContract.greeting()))
== keccak256("Building Unstoppable Apps!!!")
);
} */
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Write tests for your smart contract in this directory
# Example: YourContract.t.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Write tests for your smart contract in this directory
# Example: YourContract.ts

0 comments on commit eaa39fc

Please sign in to comment.