@@ -3268,8 +3268,6 @@ func TestGRPCProviderServerConfigureProvider(t *testing.T) {
32683268 }
32693269
32703270 for name , testCase := range testCases {
3271- name , testCase := name , testCase
3272-
32733271 t .Run (name , func (t * testing.T ) {
32743272 t .Parallel ()
32753273
@@ -3389,8 +3387,6 @@ func TestGRPCProviderServerGetMetadata(t *testing.T) {
33893387 }
33903388
33913389 for name , testCase := range testCases {
3392- name , testCase := name , testCase
3393-
33943390 t .Run (name , func (t * testing.T ) {
33953391 t .Parallel ()
33963392
@@ -3470,8 +3466,6 @@ func TestGRPCProviderServerMoveResourceState(t *testing.T) {
34703466 }
34713467
34723468 for name , testCase := range testCases {
3473- name , testCase := name , testCase
3474-
34753469 t .Run (name , func (t * testing.T ) {
34763470 t .Parallel ()
34773471
@@ -3953,8 +3947,6 @@ func TestGRPCProviderServerValidateResourceTypeConfig(t *testing.T) {
39533947 }
39543948
39553949 for name , testCase := range testCases {
3956- name , testCase := name , testCase
3957-
39583950 t .Run (name , func (t * testing.T ) {
39593951 t .Parallel ()
39603952
@@ -4838,8 +4830,6 @@ func TestReadResource(t *testing.T) {
48384830 }
48394831
48404832 for name , testCase := range testCases {
4841- name , testCase := name , testCase
4842-
48434833 t .Run (name , func (t * testing.T ) {
48444834 t .Parallel ()
48454835 resp , err := testCase .server .ReadResource (context .Background (), testCase .req )
@@ -5560,8 +5550,6 @@ func TestPlanResourceChange(t *testing.T) {
55605550 }
55615551
55625552 for name , testCase := range testCases {
5563- name , testCase := name , testCase
5564-
55655553 t .Run (name , func (t * testing.T ) {
55665554 t .Parallel ()
55675555
@@ -5871,8 +5859,6 @@ func TestApplyResourceChange(t *testing.T) {
58715859 }
58725860
58735861 for name , testCase := range testCases {
5874- name , testCase := name , testCase
5875-
58765862 t .Run (name , func (t * testing.T ) {
58775863 t .Parallel ()
58785864
@@ -6014,8 +6000,6 @@ func TestApplyResourceChange_ResourceFuncs(t *testing.T) {
60146000 }
60156001
60166002 for name , testCase := range testCases {
6017- name , testCase := name , testCase
6018-
60196003 t .Run (name , func (t * testing.T ) {
60206004 t .Parallel ()
60216005
@@ -6148,7 +6132,6 @@ func TestApplyResourceChange_bigint(t *testing.T) {
61486132 }
61496133
61506134 for _ , testCase := range testCases {
6151- testCase := testCase
61526135 t .Run (testCase .Description , func (t * testing.T ) {
61536136 server := NewGRPCProviderServer (& Provider {
61546137 ResourcesMap : map [string ]* Resource {
@@ -6376,8 +6359,6 @@ func TestApplyResourceChange_ResourceFuncs_writeOnly(t *testing.T) {
63766359 }
63776360
63786361 for name , testCase := range testCases {
6379- name , testCase := name , testCase
6380-
63816362 t .Run (name , func (t * testing.T ) {
63826363 t .Parallel ()
63836364
@@ -6710,8 +6691,6 @@ func TestImportResourceState(t *testing.T) {
67106691 }
67116692
67126693 for name , testCase := range testCases {
6713- name , testCase := name , testCase
6714-
67156694 t .Run (name , func (t * testing.T ) {
67166695 t .Parallel ()
67176696 resp , err := testCase .server .ImportResourceState (context .Background (), testCase .req )
@@ -7366,8 +7345,6 @@ func TestReadDataSource(t *testing.T) {
73667345 }
73677346
73687347 for name , testCase := range testCases {
7369- name , testCase := name , testCase
7370-
73717348 t .Run (name , func (t * testing.T ) {
73727349 t .Parallel ()
73737350 resp , err := testCase .server .ReadDataSource (context .Background (), testCase .req )
@@ -8138,7 +8115,6 @@ func TestStopContext_grpc(t *testing.T) {
81388115 }
81398116
81408117 for _ , testCase := range testCases {
8141- testCase := testCase
81428118 t .Run (testCase .Description , func (t * testing.T ) {
81438119 server := NewGRPCProviderServer (& Provider {
81448120 ResourcesMap : map [string ]* Resource {
@@ -8253,7 +8229,6 @@ func TestStopContext_stop(t *testing.T) {
82538229 }
82548230
82558231 for _ , testCase := range testCases {
8256- testCase := testCase
82578232 t .Run (testCase .Description , func (t * testing.T ) {
82588233 server := NewGRPCProviderServer (& Provider {
82598234 ResourcesMap : map [string ]* Resource {
@@ -8371,7 +8346,6 @@ func TestStopContext_stopReset(t *testing.T) {
83718346 }
83728347
83738348 for _ , testCase := range testCases {
8374- testCase := testCase
83758349 t .Run (testCase .Description , func (t * testing.T ) {
83768350 server := NewGRPCProviderServer (& Provider {
83778351 ResourcesMap : map [string ]* Resource {
0 commit comments