(t *testing.T)
| 175 | } |
| 176 | |
| 177 | func TestReadVarUint32Small7StreamRejectsOverflowFifthByte(t *testing.T) { |
| 178 | buf := NewByteBufferFromReader(bytes.NewReader([]byte{0x80, 0x80, 0x80, 0x80, 0x10}), 4) |
| 179 | var err Error |
| 180 | _ = buf.ReadVarUint32Small7(&err) |
| 181 | require.True(t, err.HasError()) |
| 182 | } |
nothing calls this directly
no test coverage detected