Skip to content

Commit

Permalink
chore: fix linter issues
Browse files Browse the repository at this point in the history
Signed-off-by: nikpivkin <nikita.pivkin@smartforce.io>
  • Loading branch information
nikpivkin committed Sep 30, 2024
1 parent f8002ae commit b49dc9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/iac/scanners/terraform/scanner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,7 @@ resource "aws_iam_policy" "bad_configuration" {
results, err := scanner.ScanFS(context.TODO(), fs, "deployments")
require.NoError(t, err)

assert.Equal(t, 4, len(results))
assert.Len(t, results, 4)
})

t.Run("empty skip-files option", func(t *testing.T) {
Expand All @@ -1214,6 +1214,6 @@ resource "aws_iam_policy" "bad_configuration" {
results, err := scanner.ScanFS(context.TODO(), fs, "deployments")
require.NoError(t, err)

assert.Equal(t, 4, len(results))
assert.Len(t, results, 4)
})
}

0 comments on commit b49dc9c

Please sign in to comment.