mirror of
https://github.com/rclone/rclone.git
synced 2026-01-05 18:13:17 +00:00
fstest: use Feature.CanHaveEmptyDirectories to sharpen tests
Now we actually test whether the directories are present or not, filtering out empty directories in the test using the CanHaveEmptyDirectories flag.
This commit is contained in:
@@ -773,7 +773,6 @@ func TestRmdirs(t *testing.T) {
|
||||
[]fstest.Item{
|
||||
file1, file2,
|
||||
},
|
||||
/* FIXME bucket based Fses are only showing some of the directories
|
||||
[]string{
|
||||
"A1",
|
||||
"A1/B1",
|
||||
@@ -785,8 +784,7 @@ func TestRmdirs(t *testing.T) {
|
||||
"A3",
|
||||
"A3/B3",
|
||||
"A3/B3/C4",
|
||||
},*/
|
||||
nil,
|
||||
},
|
||||
fs.Config.ModifyWindow,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user