Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

Start Cat tests from 2 as onedrive doesn't support ranging from 1

Nick Craig-Wood320c53eab0d8
diff --git a/fs/operations_test.go b/fs/operations_test.go
index 92bcff10a..4c8d792bd 100644
--- a/fs/operations_test.go
+++ b/fs/operations_test.go
@@ -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)