Skip to content

Commit

Permalink
chore: naming
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-something committed May 20, 2024
1 parent 0a812ac commit a5f2328
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/invariants/fuzz/Greeter.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ interface IHevm {
function prank(address) external;
}

contract GreeterInvariant {
contract InvariantGreeter {
address constant HEVM_ADDRESS = 0x7109709ECfa91a80626fF3989D68f67F5b1DD12D;

Check warning on line 11 in test/invariants/fuzz/Greeter.t.sol

View workflow job for this annotation

GitHub Actions / Lint Commit Messages

Explicitly mark visibility of state

Check warning on line 11 in test/invariants/fuzz/Greeter.t.sol

View workflow job for this annotation

GitHub Actions / Lint Commit Messages

'HEVM_ADDRESS' should start with _
IHevm hevm = IHevm(HEVM_ADDRESS);

Check warning on line 12 in test/invariants/fuzz/Greeter.t.sol

View workflow job for this annotation

GitHub Actions / Lint Commit Messages

Explicitly mark visibility of state

Check warning on line 12 in test/invariants/fuzz/Greeter.t.sol

View workflow job for this annotation

GitHub Actions / Lint Commit Messages

'hevm' should start with _
Greeter public targetContract;
Expand Down
2 changes: 1 addition & 1 deletion test/invariants/symbolic/Greeter.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {Greeter, IERC20} from 'contracts/Greeter.sol';
import {Test} from 'forge-std/Test.sol';
import {SymTest} from 'halmos-cheatcodes/src/SymTest.sol';

contract GreeterSymbolic is SymTest, Test {
contract SymbolicGreeter is SymTest, Test {
Greeter public targetContract;

function setUp() public {
Expand Down

0 comments on commit a5f2328

Please sign in to comment.