From 7ea5aeba32c28d156bcf3e17fe8d21978c3ee754 Mon Sep 17 00:00:00 2001 From: notanatol Date: Fri, 23 Feb 2024 10:13:47 -0600 Subject: [PATCH] fix: reduntant assign --- pkg/api/api_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/api/api_test.go b/pkg/api/api_test.go index b06e5808479..46473a3a253 100644 --- a/pkg/api/api_test.go +++ b/pkg/api/api_test.go @@ -397,7 +397,6 @@ func TestParseName(t *testing.T) { s.Configure(signer, nil, nil, api.Options{}, api.ExtraOptions{Resolver: tC.res}, 1, nil) s.MountAPI() - tC := tC t.Run(tC.desc, func(t *testing.T) { t.Parallel() @@ -553,7 +552,7 @@ func TestOptions(t *testing.T) { expectedMethods: "GET, HEAD", }, } { - tc := tc + t.Run(tc.endpoint+" options test", func(t *testing.T) { t.Parallel()