mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 04:07:35 +03:00
rename frame.Write to frame.Append
This commit is contained in:
parent
3ca1001951
commit
ab6d664b43
50 changed files with 112 additions and 112 deletions
|
@ -499,7 +499,7 @@ var _ = Describe("Packet packer", func() {
|
|||
p, err := packer.PackPacket()
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
Expect(p).ToNot(BeNil())
|
||||
b, err := f.Write(nil, packer.version)
|
||||
b, err := f.Append(nil, packer.version)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
Expect(p.frames).To(Equal([]ackhandler.Frame{{Frame: f}}))
|
||||
Expect(p.buffer.Data).To(ContainSubstring(string(b)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue