"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
s3: fix potential crash in integration tests
Nick Craig-Woodaca7d0fd2208
diff --git a/backend/s3/s3_internal_test.go b/backend/s3/s3_internal_test.goindex ac67ccc81..e23c68bc3 100644--- a/backend/s3/s3_internal_test.go+++ b/backend/s3/s3_internal_test.go@@ -322,7 +322,8 @@ func (f *Fs) InternalTestVersions(t *testing.T) {confPath := strings.Replace(newPath, ":", ",versions:", 1)fNew, err := cache.Get(ctx, confPath)// This should return pointing to a file- assert.Equal(t, fs.ErrorIsFile, err)+ require.Equal(t, fs.ErrorIsFile, err)+ require.NotNil(t, fNew)// With the directory the directory aboveassert.Equal(t, dirName, path.Base(fs.ConfigString(fNew)))})