mirror of
https://github.com/rclone/rclone.git
synced 2024-11-23 09:04:57 +08:00
fs: Cleaning up directories in test is no longer needed
..as it is done in the finalise method.
This commit is contained in:
parent
7ec24ad67a
commit
e01741b557
|
@ -702,10 +702,6 @@ func TestRmdirs(t *testing.T) {
|
|||
defer r.Finalise()
|
||||
r.Mkdir(r.fremote)
|
||||
|
||||
// Clean any directories that have crept in so far
|
||||
// FIXME make the Finalise method do this?
|
||||
require.NoError(t, fs.Rmdirs(r.fremote, ""))
|
||||
|
||||
// Make some files and dirs we expect to keep
|
||||
r.ForceMkdir(r.fremote)
|
||||
file1 := r.WriteObject("A1/B1/C1/one", "aaa", t1)
|
||||
|
|
Loading…
Reference in New Issue
Block a user