mirror of
https://github.com/rclone/rclone.git
synced 2026-01-06 10:33:34 +00:00
move: fixed root source directories getting deleted after move - fixes #1849
This commit is contained in:
@@ -824,7 +824,7 @@ func testServerSideMove(t *testing.T, r *fstest.Run, withFilter bool) {
|
||||
if withFilter {
|
||||
fstest.CheckItems(t, r.Fremote, file2)
|
||||
} else {
|
||||
fstest.CheckRootDir(t, r.Fremote, false)
|
||||
fstest.CheckItems(t, r.Fremote)
|
||||
}
|
||||
fstest.CheckItems(t, FremoteMove, file2, file1, file3u)
|
||||
|
||||
@@ -843,7 +843,7 @@ func testServerSideMove(t *testing.T, r *fstest.Run, withFilter bool) {
|
||||
fstest.CheckItems(t, FremoteMove, file2)
|
||||
} else {
|
||||
fstest.CheckItems(t, FremoteMove2, file2, file1, file3u)
|
||||
fstest.CheckRootDir(t, FremoteMove, false)
|
||||
fstest.CheckItems(t, FremoteMove)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user