mirror of
https://github.com/rclone/rclone
synced 2025-01-21 02:27:30 +01: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()
|
defer r.Finalise()
|
||||||
r.Mkdir(r.fremote)
|
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
|
// Make some files and dirs we expect to keep
|
||||||
r.ForceMkdir(r.fremote)
|
r.ForceMkdir(r.fremote)
|
||||||
file1 := r.WriteObject("A1/B1/C1/one", "aaa", t1)
|
file1 := r.WriteObject("A1/B1/C1/one", "aaa", t1)
|
||||||
|
Loading…
Reference in New Issue
Block a user