mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-06-08 13:29:53 +00:00
Merge pull request #1176 from apernet/fix-test-reqhook
fix(test): signature mismatch of udpIO.Hook
This commit is contained in:
commit
442ee3898c
@ -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()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user