fstest: remove -subdir flag as it no longer tests anything useful #3421

This commit is contained in:
Nick Craig-Wood
2019-08-08 19:58:02 +01:00
parent ba0e1ea6ae
commit af3c47d282
12 changed files with 34 additions and 101 deletions

View File

@@ -31,7 +31,7 @@ type StartFn func(f fs.Fs) (configmap.Simple, func())
func run(t *testing.T, name string, start StartFn, useProxy bool) {
fstest.Initialise()
fremote, _, clean, err := fstest.RandomRemote(*fstest.RemoteName, *fstest.SubDir)
fremote, _, clean, err := fstest.RandomRemote()
assert.NoError(t, err)
defer clean()