io: rename ReadBytes() to ReadVarBytes()
This commit is contained in:
parent
f01fc1cc29
commit
838050f8b5
14 changed files with 22 additions and 22 deletions
|
@ -91,7 +91,7 @@ func TestReaderErrHandling(t *testing.T) {
|
|||
assert.Equal(t, i, iorig)
|
||||
val := br.ReadVarUint()
|
||||
assert.Equal(t, val, uint64(0))
|
||||
b := br.ReadBytes()
|
||||
b := br.ReadVarBytes()
|
||||
assert.Equal(t, b, []byte{})
|
||||
s := br.ReadString()
|
||||
assert.Equal(t, s, "")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue