@@ -74,7 +74,7 @@ func TestBlockWithOpts(t *testing.T) {
7474 }
7575
7676 for name , test := range tests {
77- name , test := name , test
77+
7878 t .Run (name , func (t * testing.T ) {
7979 t .Parallel ()
8080 actual := timeouts .BlockWithOpts (context .Background (), test .opts )
@@ -118,7 +118,7 @@ func TestBlock(t *testing.T) {
118118 }
119119
120120 for name , test := range tests {
121- name , test := name , test
121+
122122 t .Run (name , func (t * testing.T ) {
123123 t .Parallel ()
124124 actual := timeouts .Block (context .Background ())
@@ -189,7 +189,7 @@ func TestAttributesWithOpts(t *testing.T) {
189189 }
190190
191191 for name , test := range tests {
192- name , test := name , test
192+
193193 t .Run (name , func (t * testing.T ) {
194194 t .Parallel ()
195195 actual := timeouts .AttributesWithOpts (context .Background (), test .opts )
@@ -234,7 +234,7 @@ func TestAttributes(t *testing.T) {
234234 }
235235
236236 for name , test := range tests {
237- name , test := name , test
237+
238238 t .Run (name , func (t * testing.T ) {
239239 t .Parallel ()
240240 actual := timeouts .Attributes (context .Background ())
0 commit comments