From 29bbf6a824f67dd11656b66d5f774e15d1c9d27b Mon Sep 17 00:00:00 2001 From: Austin Abro Date: Fri, 12 Jul 2024 18:39:41 +0000 Subject: [PATCH] go 1.22 Signed-off-by: Austin Abro --- src/pkg/lint/findings_test.go | 2 -- src/pkg/lint/schema_test.go | 1 - 2 files changed, 3 deletions(-) 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)