remove unused GetBytesSent function from flow controller

This commit is contained in:
Marten Seemann
2017-02-08 10:39:16 +07:00
parent 7ce7203f16
commit 1aaf049a11
3 changed files with 0 additions and 20 deletions

View File

@@ -118,11 +118,6 @@ var _ = Describe("Flow controller", func() {
Expect(controller.bytesSent).To(Equal(protocol.ByteCount(5 + 6)))
})
It("gets the bytesSent", func() {
controller.bytesSent = 8
Expect(controller.GetBytesSent()).To(Equal(protocol.ByteCount(8)))
})
It("gets the size of the remaining flow control window", func() {
controller.bytesSent = 5
controller.sendWindow = 12