This commit is contained in:
JackDoan
2026-07-13 16:41:13 -05:00
parent aacb4e2334
commit 7138a05f9b
+1 -2
View File
@@ -4,7 +4,6 @@ package udp
import (
"encoding/binary"
"io"
"log/slog"
"net"
"net/netip"
@@ -89,7 +88,7 @@ func TestParseRecvCmsgOuterECNFamily(t *testing.T) {
}
func testLogger() *slog.Logger {
return slog.New(slog.NewTextHandler(io.Discard, nil))
return slog.New(slog.DiscardHandler)
}
// TestWriteBatchBadFamilyDeliversOthers is the H3 regression: a batch that