88)
99
1010func TestGetCompletions_EmptyArgs (t * testing.T ) {
11+ t .Parallel ()
12+
1113 root := & cli.Command {
1214 Commands : []* cli.Command {
1315 {Name : "generate" , Usage : "Generate SDK" },
@@ -26,6 +28,8 @@ func TestGetCompletions_EmptyArgs(t *testing.T) {
2628}
2729
2830func TestGetCompletions_SubcommandPrefix (t * testing.T ) {
31+ t .Parallel ()
32+
2933 root := & cli.Command {
3034 Commands : []* cli.Command {
3135 {Name : "generate" , Usage : "Generate SDK" },
@@ -43,6 +47,8 @@ func TestGetCompletions_SubcommandPrefix(t *testing.T) {
4347}
4448
4549func TestGetCompletions_HiddenCommand (t * testing.T ) {
50+ t .Parallel ()
51+
4652 root := & cli.Command {
4753 Commands : []* cli.Command {
4854 {Name : "visible" , Usage : "Visible command" },
@@ -57,6 +63,8 @@ func TestGetCompletions_HiddenCommand(t *testing.T) {
5763}
5864
5965func TestGetCompletions_NestedSubcommand (t * testing.T ) {
66+ t .Parallel ()
67+
6068 root := & cli.Command {
6169 Commands : []* cli.Command {
6270 {
@@ -79,6 +87,8 @@ func TestGetCompletions_NestedSubcommand(t *testing.T) {
7987}
8088
8189func TestGetCompletions_FlagCompletion (t * testing.T ) {
90+ t .Parallel ()
91+
8292 root := & cli.Command {
8393 Commands : []* cli.Command {
8494 {
@@ -102,6 +112,8 @@ func TestGetCompletions_FlagCompletion(t *testing.T) {
102112}
103113
104114func TestGetCompletions_ShortFlagCompletion (t * testing.T ) {
115+ t .Parallel ()
116+
105117 root := & cli.Command {
106118 Commands : []* cli.Command {
107119 {
@@ -123,6 +135,8 @@ func TestGetCompletions_ShortFlagCompletion(t *testing.T) {
123135}
124136
125137func TestGetCompletions_FileFlagBehavior (t * testing.T ) {
138+ t .Parallel ()
139+
126140 root := & cli.Command {
127141 Commands : []* cli.Command {
128142 {
@@ -142,6 +156,8 @@ func TestGetCompletions_FileFlagBehavior(t *testing.T) {
142156}
143157
144158func TestGetCompletions_NonBoolFlagValue (t * testing.T ) {
159+ t .Parallel ()
160+
145161 root := & cli.Command {
146162 Commands : []* cli.Command {
147163 {
@@ -161,6 +177,8 @@ func TestGetCompletions_NonBoolFlagValue(t *testing.T) {
161177}
162178
163179func TestGetCompletions_BoolFlagDoesNotBlockCompletion (t * testing.T ) {
180+ t .Parallel ()
181+
164182 root := & cli.Command {
165183 Commands : []* cli.Command {
166184 {
@@ -185,6 +203,8 @@ func TestGetCompletions_BoolFlagDoesNotBlockCompletion(t *testing.T) {
185203}
186204
187205func TestGetCompletions_ColonCommands_NoColonTyped (t * testing.T ) {
206+ t .Parallel ()
207+
188208 root := & cli.Command {
189209 Commands : []* cli.Command {
190210 {Name : "config:get" , Usage : "Get config value" },
@@ -202,6 +222,8 @@ func TestGetCompletions_ColonCommands_NoColonTyped(t *testing.T) {
202222}
203223
204224func TestGetCompletions_ColonCommands_ColonTyped_Bash (t * testing.T ) {
225+ t .Parallel ()
226+
205227 root := & cli.Command {
206228 Commands : []* cli.Command {
207229 {Name : "config:get" , Usage : "Get config value" },
@@ -221,6 +243,8 @@ func TestGetCompletions_ColonCommands_ColonTyped_Bash(t *testing.T) {
221243}
222244
223245func TestGetCompletions_ColonCommands_ColonTyped_Zsh (t * testing.T ) {
246+ t .Parallel ()
247+
224248 root := & cli.Command {
225249 Commands : []* cli.Command {
226250 {Name : "config:get" , Usage : "Get config value" },
@@ -240,6 +264,8 @@ func TestGetCompletions_ColonCommands_ColonTyped_Zsh(t *testing.T) {
240264}
241265
242266func TestGetCompletions_BashStyleColonCompletion (t * testing.T ) {
267+ t .Parallel ()
268+
243269 root := & cli.Command {
244270 Commands : []* cli.Command {
245271 {Name : "config:get" , Usage : "Get config value" },
@@ -257,6 +283,8 @@ func TestGetCompletions_BashStyleColonCompletion(t *testing.T) {
257283}
258284
259285func TestGetCompletions_BashStyleColonCompletion_NoMatch (t * testing.T ) {
286+ t .Parallel ()
287+
260288 root := & cli.Command {
261289 Commands : []* cli.Command {
262290 {Name : "config:get" , Usage : "Get config value" },
@@ -271,6 +299,8 @@ func TestGetCompletions_BashStyleColonCompletion_NoMatch(t *testing.T) {
271299}
272300
273301func TestGetCompletions_ZshStyleColonCompletion (t * testing.T ) {
302+ t .Parallel ()
303+
274304 root := & cli.Command {
275305 Commands : []* cli.Command {
276306 {Name : "config:get" , Usage : "Get config value" },
@@ -287,6 +317,8 @@ func TestGetCompletions_ZshStyleColonCompletion(t *testing.T) {
287317}
288318
289319func TestGetCompletions_MixedColonAndRegularCommands (t * testing.T ) {
320+ t .Parallel ()
321+
290322 root := & cli.Command {
291323 Commands : []* cli.Command {
292324 {Name : "generate" , Usage : "Generate SDK" },
@@ -305,6 +337,8 @@ func TestGetCompletions_MixedColonAndRegularCommands(t *testing.T) {
305337}
306338
307339func TestGetCompletions_FlagWithBoolFlagSkipsValue (t * testing.T ) {
340+ t .Parallel ()
341+
308342 root := & cli.Command {
309343 Commands : []* cli.Command {
310344 {
@@ -329,6 +363,8 @@ func TestGetCompletions_FlagWithBoolFlagSkipsValue(t *testing.T) {
329363}
330364
331365func TestGetCompletions_MultipleFlagsBeforeSubcommand (t * testing.T ) {
366+ t .Parallel ()
367+
332368 root := & cli.Command {
333369 Commands : []* cli.Command {
334370 {
@@ -353,6 +389,8 @@ func TestGetCompletions_MultipleFlagsBeforeSubcommand(t *testing.T) {
353389}
354390
355391func TestGetCompletions_CommandAliases (t * testing.T ) {
392+ t .Parallel ()
393+
356394 root := & cli.Command {
357395 Commands : []* cli.Command {
358396 {Name : "generate" , Aliases : []string {"gen" , "g" }, Usage : "Generate SDK" },
@@ -372,6 +410,8 @@ func TestGetCompletions_CommandAliases(t *testing.T) {
372410}
373411
374412func TestGetCompletions_AllFlagsWhenNoPrefix (t * testing.T ) {
413+ t .Parallel ()
414+
375415 root := & cli.Command {
376416 Commands : []* cli.Command {
377417 {
0 commit comments