Improve test documentation for mock datagram connection

Co-authored-by: dalbodeule <11470513+dalbodeule@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-09 10:51:44 +00:00
parent 76423627e9
commit a00c001b49
3 changed files with 2 additions and 3 deletions

View File

@@ -8,6 +8,7 @@ import (
// mockDatagramConn simulates a datagram-based connection (like DTLS over UDP)
// where each Write sends a separate message and each Read receives a complete message.
// This mock verifies the FIXED behavior where the codec properly handles message boundaries.
type mockDatagramConn struct {
messages [][]byte
readIdx int