diff --git a/providertests/image_upload_test.go b/providertests/image_upload_test.go index 9369731528f8f90d6e3de02658c2cce9441aa879..15abc1eef7bc311a64cc329c80ebb9813ad7be5a 100644 --- a/providertests/image_upload_test.go +++ b/providertests/image_upload_test.go @@ -75,7 +75,6 @@ func TestImageUploadAgent(t *testing.T) { file := fantasy.FilePart{Filename: "wish.png", Data: img, MediaType: "image/png"} for _, pair := range pairs { - pair := pair t.Run(pair.name, func(t *testing.T) { r := newRecorder(t) @@ -122,7 +121,6 @@ func TestImageUploadAgentStreaming(t *testing.T) { file := fantasy.FilePart{Filename: "wish.png", Data: img, MediaType: "image/png"} for _, pair := range pairs { - pair := pair t.Run(pair.name+"-stream", func(t *testing.T) { r := newRecorder(t)