fix typo in UDP connection helper function in tests (#4970)

This commit is contained in:
Marten Seemann
2025-02-24 09:39:29 +01:00
committed by GitHub
parent 6033030017
commit 751ca8dfb6
34 changed files with 230 additions and 230 deletions

View File

@@ -297,7 +297,7 @@ func (c *mockBatchConn) ReadBatch(ms []ipv4.Message, _ int) (int, error) {
func TestReadsMultipleMessagesInOneBatch(t *testing.T) {
bc := &mockBatchConn{t: t, numMsgRead: batchSize/2 + 1}
udpConn := newUPDConnLocalhost(t)
udpConn := newUDPConnLocalhost(t)
oobConn, err := newConn(udpConn, true)
require.NoError(t, err)
oobConn.batchConn = bc