diff --git a/src/pkg/lint/findings_test.go b/src/pkg/lint/findings_test.go index 3f87510052..f3c09673c8 100644 --- a/src/pkg/lint/findings_test.go +++ b/src/pkg/lint/findings_test.go @@ -47,7 +47,6 @@ func TestGroupFindingsByPath(t *testing.T) { }, } for _, tt := range tests { - tt := tt t.Run(tt.name, func(t *testing.T) { t.Parallel() require.Equal(t, tt.want, GroupFindingsByPath(tt.findings, tt.packageName)) @@ -98,7 +97,6 @@ func TestHasSeverity(t *testing.T) { }, } for _, tt := range tests { - tt := tt t.Run(tt.name, func(t *testing.T) { t.Parallel() require.Equal(t, tt.expected, HasSevOrHigher(tt.findings, tt.severity)) diff --git a/src/pkg/lint/schema_test.go b/src/pkg/lint/schema_test.go index 094cda2f77..61279d2176 100644 --- a/src/pkg/lint/schema_test.go +++ b/src/pkg/lint/schema_test.go @@ -117,7 +117,6 @@ func TestZarfSchema(t *testing.T) { }, } for _, tt := range tests { - tt := tt t.Run(tt.name, func(t *testing.T) { t.Parallel() findings, err := runSchema(zarfSchema, tt.pkg)