forked from quic-go/quic-go
use the error names from the draft
This commit is contained in:
@@ -75,7 +75,7 @@ var _ = Describe("STREAM frame", func() {
|
||||
data = append(data, []byte("foobar")...)
|
||||
r := bytes.NewReader(data)
|
||||
_, err := parseStreamFrame(r, versionIETFFrames)
|
||||
Expect(err).To(MatchError("FrameEncodingError: stream data overflows maximum offset"))
|
||||
Expect(err).To(MatchError("FRAME_ENCODING_ERROR: stream data overflows maximum offset"))
|
||||
})
|
||||
|
||||
It("errors on EOFs", func() {
|
||||
|
||||
Reference in New Issue
Block a user