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:
Nick Craig-Wood 2017-03-12 14:24:33 +00:00
parent 4d5b73df85
commit 320c53eab0

View file

@ -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)