Empty slice literal used to declare a variable GO-W1027
Anti-pattern
Minor
1064 occurrences in this check
Empty slice literal of type "[]test" used to define "tests"
 47		}
 48		return nil
 49	}
 50	tests := []test{ 51		// TODO test cases
 52		/*
 53		   {
Empty slice literal of type "[]test" used to define "tests"
118		}
119		return nil
120	}
121	tests := []test{122		// TODO test cases
123		/*
124		   {
Empty slice literal of type "[]test" used to define "tests"
190		}
191		return nil
192	}
193	tests := []test{194		// TODO test cases
195		/*
196		   {
Empty slice literal of type "[]test" used to define "tests"
 56		}
 57		return nil
 58	}
 59	tests := []test{ 60		// TODO test cases
 61		/*
 62		   {
Empty slice literal of type "[]test" used to define "tests"
149		}
150		return nil
151	}
152	tests := []test{153		// TODO test cases
154		/*
155		   {
Empty slice literal of type "[]test" used to define "tests"
267		}
268		return nil
269	}
270	tests := []test{271		// TODO test cases
272		/*
273		   {
Empty slice literal of type "[]test" used to define "tests"
609		}
610		return nil
611	}
612	tests := []test{613		// TODO test cases
614		/*
615		   {
Empty slice literal of type "[]test" used to define "tests"
495		}
496		return nil
497	}
498	tests := []test{499		// TODO test cases
500		/*
501		   {
Empty slice literal of type "[]test" used to define "tests"
381		}
382		return nil
383	}
384	tests := []test{385		// TODO test cases
386		/*
387		   {
Empty slice literal of type "[]test" used to define "tests"
133		}
134		return nil
135	}
136	tests := []test{137		// TODO test cases
138		/*
139		   {
Empty slice literal of type "[]test" used to define "tests"
218		}
219		return nil
220	}
221	tests := []test{222		// TODO test cases
223		/*
224		   {
Empty slice literal of type "[]test" used to define "tests"
303		}
304		return nil
305	}
306	tests := []test{307		// TODO test cases
308		/*
309		   {
Empty slice literal of type "[]test" used to define "tests"
388		}
389		return nil
390	}
391	tests := []test{392		// TODO test cases
393		/*
394		   {
Empty slice literal of type "[]test" used to define "tests"
473		}
474		return nil
475	}
476	tests := []test{477		// TODO test cases
478		/*
479		   {
Empty slice literal of type "[]test" used to define "tests"
558		}
559		return nil
560	}
561	tests := []test{562		// TODO test cases
563		/*
564		   {
Empty slice literal of type "[]test" used to define "tests"
643		}
644		return nil
645	}
646	tests := []test{647		// TODO test cases
648		/*
649		   {
Empty slice literal of type "[]test" used to define "tests"
728		}
729		return nil
730	}
731	tests := []test{732		// TODO test cases
733		/*
734		   {
Empty slice literal of type "[]test" used to define "tests"
 48		}
 49		return nil
 50	}
 51	tests := []test{ 52		// TODO test cases
 53		/*
 54		   {
Empty slice literal of type "[]test" used to define "tests"
 908	defaultCheckFunc := func(w want) error {
 909		return nil
 910	}
 911	tests := []test{ 912		// TODO test cases
 913		/*
 914		   {
Empty slice literal of type "[]test" used to define "tests"
1190		}
1191		return nil
1192	}
1193	tests := []test{1194		// TODO test cases
1195		/*
1196		   {
Empty slice literal of type "[]test" used to define "tests"
1096	defaultCheckFunc := func(w want) error {
1097		return nil
1098	}
1099	tests := []test{1100		// TODO test cases
1101		/*
1102		   {
Empty slice literal of type "[]test" used to define "tests"
1005	defaultCheckFunc := func(w want) error {
1006		return nil
1007	}
1008	tests := []test{1009		// TODO test cases
1010		/*
1011		   {
Empty slice literal of type "[]test" used to define "tests"
  48		}
  49		return nil
  50	}
  51	tests := []test{  52		// TODO test cases
  53		/*
  54		   {
Empty slice literal of type "[]test" used to define "tests"
 143		}
 144		return nil
 145	}
 146	tests := []test{ 147		// TODO test cases
 148		/*
 149		   {
Empty slice literal of type "[]test" used to define "tests"
 247		}
 248		return nil
 249	}
 250	tests := []test{ 251		// TODO test cases
 252		/*
 253		   {