mirror of
https://github.com/rclone/rclone
synced 2024-12-03 13:14:37 +01:00
Start Cat tests from 2 as onedrive doesn't support ranging from 1
This has been reported here: https://github.com/OneDrive/onedrive-api-docs/issues/543
This commit is contained in:
parent
4d5b73df85
commit
320c53eab0
@ -692,7 +692,7 @@ func TestCat(t *testing.T) {
|
||||
{0, -1, "ABCDEFGHIJ", "012345678"},
|
||||
{0, 5, "ABCDE", "01234"},
|
||||
{-3, -1, "HIJ", "678"},
|
||||
{1, 3, "BCD", "123"},
|
||||
{2, 3, "CDE", "234"},
|
||||
} {
|
||||
var buf bytes.Buffer
|
||||
err := fs.Cat(r.fremote, &buf, test.offset, test.count)
|
||||
|
Loading…
Reference in New Issue
Block a user