mirror of
https://github.com/apernet/hysteria.git
synced 2025-04-03 04:27:39 +03:00
Merge pull request #1176 from apernet/fix-test-reqhook
fix(test): signature mismatch of udpIO.Hook
This commit is contained in:
commit
442ee3898c
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue