mirror of
https://github.com/rclone/rclone.git
synced 2025-12-06 00:03:32 +00:00
operations: fix tests TestMoveFileBackupDir and TestCopyFileBackupDir again
Commit 734f504d5f wasn't tested properly and had a typo which
caused it not to build :-(
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user