From e01741b55783352a957d859753e50ff4dac299d4 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sun, 30 Jul 2017 20:51:13 +0100 Subject: [PATCH] fs: Cleaning up directories in test is no longer needed ..as it is done in the finalise method. --- fs/operations_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/fs/operations_test.go b/fs/operations_test.go index 7702cef75..fbb3a3037 100644 --- a/fs/operations_test.go +++ b/fs/operations_test.go @@ -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)