(t *testing.T)
| 73 | } |
| 74 | |
| 75 | func TestReadFrameEmptyReader(t *testing.T) { |
| 76 | t.Parallel() |
| 77 | |
| 78 | var buf bytes.Buffer |
| 79 | readBuf := make([]byte, codec.MaxMessageSizeV1) |
| 80 | _, _, err := codec.ReadFrame(&buf, readBuf) |
| 81 | require.ErrorIs(t, err, io.EOF) |
| 82 | } |
| 83 | |
| 84 | func TestReadFrameInvalidTag(t *testing.T) { |
| 85 | t.Parallel() |
nothing calls this directly
no test coverage detected