From 320c53eab0d86095d4854fbb80097b5b05bb0ece Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sun, 12 Mar 2017 14:24:33 +0000 Subject: [PATCH] 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 --- fs/operations_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)