fix(test): signature mismatch of udpIO.Hook

ref: #1125
This commit is contained in:
Haruue
2024-08-04 14:34:57 +08:00
parent b563f3981f
commit 604132f8d0

View File

@@ -25,7 +25,7 @@ func TestUDPSessionManager(t *testing.T) {
}
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()