mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 04:37:36 +03:00
implement PingFrame
This commit is contained in:
parent
b183b0edb3
commit
01c5d91acc
5 changed files with 72 additions and 5 deletions
|
@ -152,7 +152,9 @@ var _ = Describe("Packet unpacker", func() {
|
|||
setReader([]byte{0x07})
|
||||
packet, err := unpacker.Unpack(hdrBin, hdr, r)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
Expect(packet.frames).To(HaveLen(0))
|
||||
Expect(packet.frames).To(Equal([]frames.Frame{
|
||||
&frames.PingFrame{},
|
||||
}))
|
||||
})
|
||||
|
||||
It("errors on invalid type", func() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue