forked from quic-go/quic-go
rename ReadVarint / WriteVarInt / VarIntLen to Read / Write / Len
This commit is contained in:
@@ -102,7 +102,7 @@ var _ = Describe("STREAMS_BLOCKED frame", func() {
|
||||
|
||||
It("has the correct min length", func() {
|
||||
frame := StreamsBlockedFrame{StreamLimit: 0x123456}
|
||||
Expect(frame.Length(0)).To(Equal(protocol.ByteCount(1) + quicvarint.VarIntLen(0x123456)))
|
||||
Expect(frame.Length(0)).To(Equal(protocol.ByteCount(1) + quicvarint.Len(0x123456)))
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user