forked from quic-go/quic-go
handle ACKs separately in the sent packet handler packet struct
This commit is contained in:
@@ -27,15 +27,6 @@ var _ = Describe("ack-eliciting frames", func() {
|
||||
Expect(IsFrameAckEliciting(f)).To(Equal(e))
|
||||
})
|
||||
|
||||
It("stripping non-ack-elicinting frames works for "+fName, func() {
|
||||
s := []wire.Frame{f}
|
||||
if e {
|
||||
Expect(stripNonAckElicitingFrames(s)).To(Equal([]wire.Frame{f}))
|
||||
} else {
|
||||
Expect(stripNonAckElicitingFrames(s)).To(BeEmpty())
|
||||
}
|
||||
})
|
||||
|
||||
It("HasAckElicitingFrames works for "+fName, func() {
|
||||
Expect(HasAckElicitingFrames([]wire.Frame{f})).To(Equal(e))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user