Skip to content

Commit

Permalink
Merge pull request #1176 from apernet/fix-test-reqhook
Browse files Browse the repository at this point in the history
fix(test): signature mismatch of udpIO.Hook
  • Loading branch information
tobyxdd committed Aug 4, 2024
2 parents d527ff1 + 604132f commit 442ee38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/server/udp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 442ee38

Please sign in to comment.