forked from TrueCloudLab/rclone
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:
parent
734f504d5f
commit
387b496d1e
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue