Skip to content

Commit

Permalink
feat: empty unit test example
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-something committed May 20, 2024
1 parent db361f3 commit 53d12b9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/unit/Greeter.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ contract UnitGreeter is Test {
vm.etch(address(_token), new bytes(0x1));
}

function test_EmptyTestExample() external {

Check warning on line 25 in test/unit/Greeter.t.sol

View workflow job for this annotation

GitHub Actions / Lint Commit Messages

Function name must be in mixedCase
// it does nothing
vm.skip(true);
}

function test_ConstructorWhenPassingValidGreetingString() external {

Check warning on line 30 in test/unit/Greeter.t.sol

View workflow job for this annotation

GitHub Actions / Lint Commit Messages

Function name must be in mixedCase
vm.prank(_owner);

Expand Down

0 comments on commit 53d12b9

Please sign in to comment.