Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

Use test logger instead of log for test output

Nick Craig-Woodafaec1a2e9a8
diff --git a/fstest/fstest.go b/fstest/fstest.go
index 458af2c41..82f53a288 100644
--- a/fstest/fstest.go
+++ b/fstest/fstest.go
@@ -109,7 +109,7 @@ func (is *Items) Find(t *testing.T, obj fs.Object, precision time.Duration) {
func (is *Items) Done(t *testing.T) {
if len(is.byName) != 0 {
for name := range is.byName {
- log.Printf("Not found %q", name)
+ t.Logf("Not found %q", name)
}
t.Errorf("%d objects not found", len(is.byName))
}