diff --git a/internal/backend/sftp/layout_test.go b/internal/backend/sftp/layout_test.go index 81e5f3240..99e18a746 100644 --- a/internal/backend/sftp/layout_test.go +++ b/internal/backend/sftp/layout_test.go @@ -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")