Merge pull request #1176 from apernet/fix-test-reqhook

fix(test): signature mismatch of udpIO.Hook
This commit is contained in:
Toby
2024-08-04 15:05:05 -07:00
committed by GitHub

View File

@@ -25,7 +25,7 @@ func TestUDPSessionManager(t *testing.T) {
} }
return m, nil return m, nil
}) })
io.EXPECT().Hook(mock.Anything, mock.Anything).Return(nil, nil) io.EXPECT().Hook(mock.Anything, mock.Anything).Return(nil)
go sm.Run() go sm.Run()