mirror of
https://github.com/rclone/rclone.git
synced 2025-08-14 07:49:00 +02:00
Fix rmdirs test and integration tests which depend on each other
This commit is contained in:
@ -17,6 +17,7 @@ func TestCopyWithDryRun(t *testing.T) {
|
||||
r := NewRun(t)
|
||||
defer r.Finalise()
|
||||
file1 := r.WriteFile("sub dir/hello world", "hello world", t1)
|
||||
r.Mkdir(r.fremote)
|
||||
|
||||
fs.Config.DryRun = true
|
||||
err := fs.CopyDir(r.fremote, r.flocal)
|
||||
@ -32,6 +33,7 @@ func TestCopy(t *testing.T) {
|
||||
r := NewRun(t)
|
||||
defer r.Finalise()
|
||||
file1 := r.WriteFile("sub dir/hello world", "hello world", t1)
|
||||
r.Mkdir(r.fremote)
|
||||
|
||||
err := fs.CopyDir(r.fremote, r.flocal)
|
||||
require.NoError(t, err)
|
||||
|
Reference in New Issue
Block a user