forked from quic-go/quic-go
make it possible to log DATAGRAM frames
This commit is contained in:
@@ -364,4 +364,14 @@ var _ = Describe("Frames", func() {
|
||||
},
|
||||
)
|
||||
})
|
||||
|
||||
It("marshals DATAGRAM frames", func() {
|
||||
check(
|
||||
&logging.DatagramFrame{Length: 1337},
|
||||
map[string]interface{}{
|
||||
"frame_type": "datagram",
|
||||
"length": 1337,
|
||||
},
|
||||
)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user