Skip to content

Commit 03e5cab

Browse files
author
Marina Limeira
committed
Fix broken syntax
1 parent 20ef42a commit 03e5cab

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

rules/aws_security_group_rule_invalid_cidr_block_test.go

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,12 @@ import (
77

88
func TestDoesPortRangeContainsRemoteAccess(t *testing.T) {
99

10-
11-
tests := []struct {
12-
Name string
13-
Content string
14-
Expected helper.Issues
15-
}{
16-
{
17-
Name: "issue found",
18-
Content: `
19-
resource "aws_instance" "web" {
20-
instance_type = "t2.m
21-
doesPortRangeContainsRemoteAccess
10+
_ := []struct {
11+
Name string
12+
Content string
13+
Expected helper.Issues
14+
}{
15+
{
16+
Name: "issue found",
17+
Content: ""}}
2218
}

0 commit comments

Comments
 (0)