diff --git a/src/test-table.md b/src/test-table.md index eafbf3c..cd1ee58 100644 --- a/src/test-table.md +++ b/src/test-table.md @@ -252,7 +252,6 @@ tests := []struct{ } for _, tt := range tests { - tt := tt // for t.Parallel t.Run(tt.give, func(t *testing.T) { t.Parallel() // ... diff --git a/style.md b/style.md index 6ffaff4..faee914 100644 --- a/style.md +++ b/style.md @@ -3908,7 +3908,6 @@ tests := []struct{ } for _, tt := range tests { - tt := tt // for t.Parallel t.Run(tt.give, func(t *testing.T) { t.Parallel() // ...