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:
Nick Craig-Wood 2019-07-02 12:22:29 +01:00
parent 734f504d5f
commit 387b496d1e

View file

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