From ecd0bf381691ff9480356a854199c2867133cafe Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 9 Nov 2024 20:30:01 +0100 Subject: [PATCH] fix copyvar linting --- aws/cloudfront_test.go | 1 - aws/s3_test.go | 4 ---- 2 files changed, 5 deletions(-) diff --git a/aws/cloudfront_test.go b/aws/cloudfront_test.go index 5572065..431a364 100644 --- a/aws/cloudfront_test.go +++ b/aws/cloudfront_test.go @@ -66,7 +66,6 @@ func TestCloudfront_Invalidate(t *testing.T) { } for _, tt := range tests { - tt := tt t.Run(tt.name, func(t *testing.T) { t.Parallel() diff --git a/aws/s3_test.go b/aws/s3_test.go index 1dfc947..459fde9 100644 --- a/aws/s3_test.go +++ b/aws/s3_test.go @@ -245,7 +245,6 @@ func TestS3_Upload(t *testing.T) { } for _, tt := range tests { - tt := tt t.Run(tt.name, func(t *testing.T) { t.Parallel() @@ -337,7 +336,6 @@ func TestS3_Redirect(t *testing.T) { } for _, tt := range tests { - tt := tt t.Run(tt.name, func(t *testing.T) { t.Parallel() @@ -426,7 +424,6 @@ func TestS3_Delete(t *testing.T) { } for _, tt := range tests { - tt := tt t.Run(tt.name, func(t *testing.T) { t.Parallel() @@ -541,7 +538,6 @@ func TestS3_List(t *testing.T) { } for _, tt := range tests { - tt := tt t.Run(tt.name, func(t *testing.T) { t.Parallel()