run unused in gometalinter

This commit is contained in:
Marten Seemann 2018-02-21 16:41:49 +08:00
parent c3ec497a2e
commit b6470311ea
2 changed files with 2 additions and 1 deletions

View file

@ -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())