Skip to content

Commit

Permalink
Tests added
Browse files Browse the repository at this point in the history
  • Loading branch information
bart1e committed Jan 12, 2023
1 parent 62902d7 commit d400d19
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
contract A
{
uint256 public myVal;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[
[]
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
contract A
{
uint256 public myVal;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[
[]
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
contract A
{
uint256 public myVal;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[
[]
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
contract A
{
uint256 public myVal;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[
[]
]
20 changes: 20 additions & 0 deletions tests/test_detectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,26 @@ def id_test(test_item: Test):
"naming_convention.sol",
"0.7.6",
),
Test(
all_detectors.NamingConvention,
"no_warning_for_public_vars.sol",
"0.4.25",
),
Test(
all_detectors.NamingConvention,
"no_warning_for_public_vars.sol",
"0.5.16",
),
Test(
all_detectors.NamingConvention,
"no_warning_for_public_vars.sol",
"0.6.11",
),
Test(
all_detectors.NamingConvention,
"no_warning_for_public_vars.sol",
"0.7.6",
),
Test(
all_detectors.ControlledDelegateCall,
"controlled_delegatecall.sol",
Expand Down

0 comments on commit d400d19

Please sign in to comment.