@@ -732,7 +732,6 @@ func TestBisectionResults(t *testing.T) {
732732 repoCache := make (chan string , len (bisectionTests ))
733733 t .Run ("group" , func (tt * testing.T ) {
734734 for _ , test := range bisectionTests {
735- test := test
736735 tt .Run (test .name , func (t * testing.T ) {
737736 t .Parallel ()
738737 checkTest (t , test )
@@ -889,7 +888,6 @@ func TestBisectVerdict(t *testing.T) {
889888 }
890889
891890 for _ , test := range tests {
892- test := test
893891 t .Run (test .name , func (t * testing.T ) {
894892 sum := test .good + test .bad + test .infra + test .skip
895893 assert .Equal (t , test .total , sum )
@@ -1008,7 +1006,6 @@ func TestMostFrequentReport(t *testing.T) {
10081006 },
10091007 }
10101008 for _ , test := range tests {
1011- test := test
10121009 t .Run (test .name , func (t * testing.T ) {
10131010 rep , types , other := mostFrequentReports (test .reports )
10141011 assert .ElementsMatch (t , types , test .types )
@@ -1066,7 +1063,6 @@ func TestPickReleaseTags(t *testing.T) {
10661063 },
10671064 }
10681065 for _ , test := range tests {
1069- test := test
10701066 t .Run (test .name , func (t * testing.T ) {
10711067 ret := pickReleaseTags (append ([]string {}, test .tags ... ))
10721068 assert .Equal (t , test .ret , ret )
0 commit comments