mirror of
https://github.com/rclone/rclone.git
synced 2025-08-10 06:07:46 +02:00
fs: Async buffer: use ReadFill to fill the chunks and increase to 1MB
This commit is contained in:
@ -20,7 +20,7 @@ func TestAsyncReader(t *testing.T) {
|
||||
|
||||
var dst = make([]byte, 100)
|
||||
n, err := ar.Read(dst)
|
||||
require.NoError(t, err)
|
||||
assert.Equal(t, io.EOF, err)
|
||||
assert.Equal(t, 10, n)
|
||||
|
||||
n, err = ar.Read(dst)
|
||||
|
Reference in New Issue
Block a user