@@ -69,15 +69,15 @@ func TestCompletionSubcommand(t *testing.T) {
6969 args []string
7070 contains string
7171 msg string
72- msgArgs []interface {}
72+ msgArgs []any
7373 notContains bool
7474 }{
7575 {
7676 name : "subcommand general completion" ,
7777 args : []string {"foo" , "bar" , completionFlag },
7878 contains : "xyz" ,
7979 msg : "Expected output to contain shell name %[1]q" ,
80- msgArgs : []interface {} {
80+ msgArgs : []any {
8181 "xyz" ,
8282 },
8383 },
@@ -86,7 +86,7 @@ func TestCompletionSubcommand(t *testing.T) {
8686 args : []string {"foo" , "bar" , "-" , completionFlag },
8787 contains : "l1" ,
8888 msg : "Expected output to contain shell name %[1]q" ,
89- msgArgs : []interface {} {
89+ msgArgs : []any {
9090 "l1" ,
9191 },
9292 },
@@ -95,7 +95,7 @@ func TestCompletionSubcommand(t *testing.T) {
9595 args : []string {"foo" , "bar" , "--" , completionFlag },
9696 contains : "l1" ,
9797 msg : "Expected output to contain shell name %[1]q" ,
98- msgArgs : []interface {} {
98+ msgArgs : []any {
9999 "l1" ,
100100 },
101101 notContains : true ,
@@ -105,7 +105,7 @@ func TestCompletionSubcommand(t *testing.T) {
105105 args : []string {"foo" , "bar" , "xyz" , completionFlag },
106106 contains : "-g" ,
107107 msg : "Expected output to contain flag %[1]q" ,
108- msgArgs : []interface {} {
108+ msgArgs : []any {
109109 "-g" ,
110110 },
111111 notContains : true ,
@@ -115,7 +115,7 @@ func TestCompletionSubcommand(t *testing.T) {
115115 args : []string {"foo" , "bar" , "xyz" , "-" , completionFlag },
116116 contains : "-g" ,
117117 msg : "Expected output to contain flag %[1]q" ,
118- msgArgs : []interface {} {
118+ msgArgs : []any {
119119 "-g" ,
120120 },
121121 },
@@ -124,7 +124,7 @@ func TestCompletionSubcommand(t *testing.T) {
124124 args : []string {"foo" , "bar" , "xyz" , "--" , completionFlag },
125125 contains : "-g" ,
126126 msg : "Expected output to contain flag %[1]q" ,
127- msgArgs : []interface {} {
127+ msgArgs : []any {
128128 "-g" ,
129129 },
130130 notContains : true ,
@@ -134,7 +134,7 @@ func TestCompletionSubcommand(t *testing.T) {
134134 args : []string {"foo" , "bar" , "xyz" , "--" , "sargs" , completionFlag },
135135 contains : "-g" ,
136136 msg : "Expected output to contain flag %[1]q" ,
137- msgArgs : []interface {} {
137+ msgArgs : []any {
138138 "-g" ,
139139 },
140140 notContains : true ,
0 commit comments