remove version 32 from tests

ref #215
This commit is contained in:
Marten Seemann 2016-07-31 16:19:03 +07:00 committed by Lucas Clemente
parent e2d5d7e3a6
commit a8764d923e
4 changed files with 38 additions and 38 deletions

View file

@ -160,7 +160,7 @@ var _ = Describe("Packet packer", func() {
It("packs many control frames into 1 packets", func() {
f := &frames.AckFrameLegacy{LargestObserved: 1}
b := &bytes.Buffer{}
f.Write(b, protocol.Version32)
f.Write(b, protocol.VersionWhatever)
maxFramesPerPacket := int(protocol.MaxFrameAndPublicHeaderSize-publicHeaderLen) / b.Len()
var controlFrames []frames.Frame
for i := 0; i < maxFramesPerPacket; i++ {