rename the wire.InvariantHeader to Header

This commit is contained in:
Marten Seemann 2018-11-20 17:17:43 +07:00
parent bf96707f48
commit 7b91ba56b6
8 changed files with 178 additions and 178 deletions

View file

@ -83,7 +83,7 @@ var _ = Describe("Packet Handler Map", func() {
It("drops unparseable packets", func() {
err := handler.handlePacket(nil, []byte{0, 1, 2, 3})
Expect(err).To(HaveOccurred())
Expect(err.Error()).To(ContainSubstring("error parsing invariant header:"))
Expect(err.Error()).To(ContainSubstring("error parsing header:"))
})
It("deletes removed session immediately", func() {