From 387b496d1efed599616545f1e04a8a08ddfb0489 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Tue, 2 Jul 2019 12:22:29 +0100 Subject: [PATCH] operations: fix tests TestMoveFileBackupDir and TestCopyFileBackupDir again Commit 734f504d5fc7f0f4 wasn't tested properly and had a typo which caused it not to build :-( --- fs/operations/operations_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/operations/operations_test.go b/fs/operations/operations_test.go index ab58585da..44dd9cbf9 100644 --- a/fs/operations/operations_test.go +++ b/fs/operations/operations_test.go @@ -791,7 +791,7 @@ func TestCaseInsensitiveMoveFile(t *testing.T) { func TestMoveFileBackupDir(t *testing.T) { r := fstest.NewRun(t) defer r.Finalise() - if !CanServerSideMove(r.Fremote) { + if !operations.CanServerSideMove(r.Fremote) { t.Skip("Skipping test as remote does not support server side move or copy") } @@ -843,7 +843,7 @@ func TestCopyFile(t *testing.T) { func TestCopyFileBackupDir(t *testing.T) { r := fstest.NewRun(t) defer r.Finalise() - if !CanServerSideMove(r.Fremote) { + if !operations.CanServerSideMove(r.Fremote) { t.Skip("Skipping test as remote does not support server side move or copy") }