Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nikpivkin committed Mar 28, 2024
1 parent 51eae13 commit dd26943
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/iac/scanners/cloudformation/scanner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func TestIgnore(t *testing.T) {
ignored int
}{
{
name: "without ignored",
name: "without ignore",
src: `---
Resources:
S3Bucket:
Expand Down
2 changes: 1 addition & 1 deletion pkg/iac/scanners/terraform/ignore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ resource "bad" "my-rule" {
}
`, assertLength: 0},
{name: "IgnoreLineAboveTheBlockMatchingParamBool", inputOptions: `
// trivy:ignore:*[secure=false]
// tfsec:ignore:*[secure=false]
resource "bad" "my-rule" {
secure = false
}
Expand Down

0 comments on commit dd26943

Please sign in to comment.