internal/backend/sftp: fix dropped test error

This commit is contained in:
Lars Lehtonen 2020-02-12 13:36:21 -08:00
parent fea835b4e2
commit 3ed54e762e
No known key found for this signature in database
GPG key ID: 8137D474EBCB04F2

View file

@ -60,6 +60,7 @@ func TestLayout(t *testing.T) {
datafiles[fi.Name] = false
return nil
})
rtest.OK(t, err)
if len(datafiles) == 0 {
t.Errorf("List() returned zero data files")