mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
rename AckRange.{First, Last} to AckRange.{Smallest, Largest}
This commit is contained in:
parent
da7708e470
commit
ca896f953a
12 changed files with 248 additions and 248 deletions
|
@ -251,8 +251,8 @@ var _ = Describe("receivedPacketHandler", func() {
|
|||
Expect(ack.LargestAcked).To(Equal(protocol.PacketNumber(4)))
|
||||
Expect(ack.LowestAcked).To(Equal(protocol.PacketNumber(1)))
|
||||
Expect(ack.AckRanges).To(Equal([]wire.AckRange{
|
||||
{First: 4, Last: 4},
|
||||
{First: 1, Last: 1},
|
||||
{Smallest: 4, Largest: 4},
|
||||
{Smallest: 1, Largest: 1},
|
||||
}))
|
||||
})
|
||||
|
||||
|
@ -268,8 +268,8 @@ var _ = Describe("receivedPacketHandler", func() {
|
|||
Expect(ack.LargestAcked).To(Equal(protocol.PacketNumber(3)))
|
||||
Expect(ack.LowestAcked).To(Equal(protocol.PacketNumber(0)))
|
||||
Expect(ack.AckRanges).To(Equal([]wire.AckRange{
|
||||
{First: 3, Last: 3},
|
||||
{First: 0, Last: 1},
|
||||
{Smallest: 3, Largest: 3},
|
||||
{Smallest: 0, Largest: 1},
|
||||
}))
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue