@@ -21,7 +21,7 @@ func TestInterruptError(t *testing.T) {
2121 Resource : "interrupt" ,
2222 Verb : "error" ,
2323 ArgsType : reflect .TypeOf (args.RawArgs {}),
24- Run : func (_ context.Context , _ interface {} ) (i interface {} , e error ) {
24+ Run : func (_ context.Context , _ any ) (i any , e error ) {
2525 return nil , & interactive.InterruptError {}
2626 },
2727 },
@@ -38,7 +38,7 @@ func TestInterruptError(t *testing.T) {
3838 Resource : "code" ,
3939 Verb : "error" ,
4040 ArgsType : reflect .TypeOf (args.RawArgs {}),
41- Run : func (_ context.Context , _ interface {} ) (i interface {} , e error ) {
41+ Run : func (_ context.Context , _ any ) (i any , e error ) {
4242 return nil , & core.CliError {Code : 99 }
4343 },
4444 },
@@ -55,7 +55,7 @@ func TestInterruptError(t *testing.T) {
5555 Resource : "empty" ,
5656 Verb : "error" ,
5757 ArgsType : reflect .TypeOf (args.RawArgs {}),
58- Run : func (_ context.Context , _ interface {} ) (i interface {} , e error ) {
58+ Run : func (_ context.Context , _ any ) (i any , e error ) {
5959 return nil , & core.CliError {Code : 99 , Empty : true }
6060 },
6161 },
@@ -75,7 +75,7 @@ func TestInterruptError(t *testing.T) {
7575 Resource : "empty" ,
7676 Verb : "error" ,
7777 ArgsType : reflect .TypeOf (args.RawArgs {}),
78- Run : func (_ context.Context , _ interface {} ) (i interface {} , e error ) {
78+ Run : func (_ context.Context , _ any ) (i any , e error ) {
7979 return nil , & core.CliError {Code : 99 , Empty : true }
8080 },
8181 },
@@ -95,7 +95,7 @@ func TestInterruptError(t *testing.T) {
9595 Resource : "empty" ,
9696 Verb : "success" ,
9797 ArgsType : reflect .TypeOf (args.RawArgs {}),
98- Run : func (_ context.Context , _ interface {} ) (i interface {} , e error ) {
98+ Run : func (_ context.Context , _ any ) (i any , e error ) {
9999 return & core.SuccessResult {
100100 Empty : true ,
101101 Message : "dummy" ,
@@ -118,7 +118,7 @@ func TestInterruptError(t *testing.T) {
118118 Resource : "empty" ,
119119 Verb : "success" ,
120120 ArgsType : reflect .TypeOf (args.RawArgs {}),
121- Run : func (_ context.Context , _ interface {} ) (i interface {} , e error ) {
121+ Run : func (_ context.Context , _ any ) (i any , e error ) {
122122 return & core.SuccessResult {
123123 Empty : true ,
124124 Message : "dummy" ,
@@ -141,7 +141,7 @@ func TestInterruptError(t *testing.T) {
141141 Resource : "empty" ,
142142 Verb : "success" ,
143143 ArgsType : reflect .TypeOf (args.RawArgs {}),
144- Run : func (_ context.Context , _ interface {} ) (i interface {} , e error ) {
144+ Run : func (_ context.Context , _ any ) (i any , e error ) {
145145 return []int (nil ), nil
146146 },
147147 AllowAnonymousClient : true ,
0 commit comments