@@ -77,7 +77,6 @@ func TestCodespacesService_ListSecrets(t *testing.T) {
7777 }
7878
7979 for _ , tt := range tests {
80- tt := tt
8180 t .Run (tt .name , func (t * testing.T ) {
8281 t .Parallel ()
8382 client , mux , _ := setup (t )
@@ -177,7 +176,6 @@ func TestCodespacesService_GetSecret(t *testing.T) {
177176 }
178177
179178 for _ , tt := range tests {
180- tt := tt
181179 t .Run (tt .name , func (t * testing.T ) {
182180 t .Parallel ()
183181 client , mux , _ := setup (t )
@@ -277,7 +275,6 @@ func TestCodespacesService_CreateOrUpdateSecret(t *testing.T) {
277275 }
278276
279277 for _ , tt := range tests {
280- tt := tt
281278 t .Run (tt .name , func (t * testing.T ) {
282279 t .Parallel ()
283280 client , mux , _ := setup (t )
@@ -364,7 +361,6 @@ func TestCodespacesService_DeleteSecret(t *testing.T) {
364361 }
365362
366363 for _ , tt := range tests {
367- tt := tt
368364 t .Run (tt .name , func (t * testing.T ) {
369365 t .Parallel ()
370366 client , mux , _ := setup (t )
@@ -450,7 +446,6 @@ func TestCodespacesService_GetPublicKey(t *testing.T) {
450446 }
451447
452448 for _ , tt := range tests {
453- tt := tt
454449 t .Run (tt .name , func (t * testing.T ) {
455450 t .Parallel ()
456451 client , mux , _ := setup (t )
@@ -529,7 +524,6 @@ func TestCodespacesService_ListSelectedReposForSecret(t *testing.T) {
529524 }
530525
531526 for _ , tt := range tests {
532- tt := tt
533527 t .Run (tt .name , func (t * testing.T ) {
534528 t .Parallel ()
535529 client , mux , _ := setup (t )
@@ -616,7 +610,6 @@ func TestCodespacesService_SetSelectedReposForSecret(t *testing.T) {
616610 }
617611
618612 for _ , tt := range tests {
619- tt := tt
620613 t .Run (tt .name , func (t * testing.T ) {
621614 t .Parallel ()
622615 client , mux , _ := setup (t )
@@ -684,7 +677,6 @@ func TestCodespacesService_AddSelectedReposForSecret(t *testing.T) {
684677 }
685678
686679 for _ , tt := range tests {
687- tt := tt
688680 t .Run (tt .name , func (t * testing.T ) {
689681 t .Parallel ()
690682 client , mux , _ := setup (t )
@@ -752,7 +744,6 @@ func TestCodespacesService_RemoveSelectedReposFromSecret(t *testing.T) {
752744 }
753745
754746 for _ , tt := range tests {
755- tt := tt
756747 t .Run (tt .name , func (t * testing.T ) {
757748 t .Parallel ()
758749 client , mux , _ := setup (t )
0 commit comments