mirror of
https://github.com/rclone/rclone.git
synced 2025-04-25 13:44:10 +08:00
operations: fix tests TestMoveFileBackupDir and TestCopyFileBackupDir again
Commit 734f504d5fc7f0f4 wasn't tested properly and had a typo which caused it not to build :-(
This commit is contained in:
parent
734f504d5f
commit
387b496d1e
@ -791,7 +791,7 @@ func TestCaseInsensitiveMoveFile(t *testing.T) {
|
|||||||
func TestMoveFileBackupDir(t *testing.T) {
|
func TestMoveFileBackupDir(t *testing.T) {
|
||||||
r := fstest.NewRun(t)
|
r := fstest.NewRun(t)
|
||||||
defer r.Finalise()
|
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")
|
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) {
|
func TestCopyFileBackupDir(t *testing.T) {
|
||||||
r := fstest.NewRun(t)
|
r := fstest.NewRun(t)
|
||||||
defer r.Finalise()
|
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")
|
t.Skip("Skipping test as remote does not support server side move or copy")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user