mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-05 13:17:36 +03:00
run unused in gometalinter
This commit is contained in:
parent
c3ec497a2e
commit
b6470311ea
2 changed files with 2 additions and 1 deletions
|
@ -12,6 +12,7 @@
|
|||
"misspell",
|
||||
"structcheck",
|
||||
"unconvert",
|
||||
"unused",
|
||||
"varcheck",
|
||||
"vet"
|
||||
],
|
||||
|
|
|
@ -826,7 +826,7 @@ var _ = Describe("SentPacketHandler", func() {
|
|||
})
|
||||
|
||||
It("does not detect packets as lost without ACKs", func() {
|
||||
err := handler.SentPacket(&Packet{PacketNumber: 1, Length: 1})
|
||||
err := handler.SentPacket(nonRetransmittablePacket(1))
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
err = handler.SentPacket(retransmittablePacket(2))
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue