@@ -83,7 +83,7 @@ func (s *SFTPConcurrencyTestSuite) TestConcurrentFailedConnections() {
8383 // Start multiple goroutines that will all fail to connect
8484 const numGoroutines = 10
8585 var wg sync.WaitGroup
86- panicChan := make (chan interface {} , numGoroutines )
86+ panicChan := make (chan any , numGoroutines )
8787 errorChan := make (chan error , numGoroutines )
8888
8989 for range numGoroutines {
@@ -107,7 +107,7 @@ func (s *SFTPConcurrencyTestSuite) TestConcurrentFailedConnections() {
107107 close (errorChan )
108108
109109 // Collect any panics that occurred
110- panics := make ([]interface {} , 0 , len (panicChan ))
110+ panics := make ([]any , 0 , len (panicChan ))
111111 for panic := range panicChan {
112112 panics = append (panics , panic )
113113 }
@@ -176,7 +176,7 @@ func (s *SFTPConcurrencyTestSuite) TestTimerCleanupRobustness() {
176176 // Start multiple operations that will fail but might trigger the timer
177177 const numOperations = 10
178178 var wg sync.WaitGroup
179- panicChan := make (chan interface {} , numOperations )
179+ panicChan := make (chan any , numOperations )
180180
181181 for range numOperations {
182182 wg .Add (1 )
@@ -204,7 +204,7 @@ func (s *SFTPConcurrencyTestSuite) TestTimerCleanupRobustness() {
204204 close (panicChan )
205205
206206 // Collect any panics that occurred
207- panics := make ([]interface {} , 0 , len (panicChan ))
207+ panics := make ([]any , 0 , len (panicChan ))
208208 for panic := range panicChan {
209209 panics = append (panics , panic )
210210 }
0 commit comments