mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-12 12:55:53 +02:00
enable linters: copyloopvar, intrange (#3184)
* enable linters: copyloopvar, intrange * lint
This commit is contained in:
parent
f97b9c84da
commit
5f22c78fcf
11 changed files with 13 additions and 22 deletions
|
@ -37,7 +37,6 @@ func TestGetPluginNameAndTypeFromPath(t *testing.T) {
|
|||
},
|
||||
}
|
||||
for _, tc := range tests {
|
||||
tc := tc
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
got, got1, err := getPluginTypeAndSubtypeFromPath(tc.path)
|
||||
cstest.RequireErrorContains(t, err, tc.expectedErr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue