mirror of
https://github.com/rclone/rclone.git
synced 2025-08-24 11:56:08 +02:00
Use test logger instead of log for test output
This commit is contained in:
@@ -109,7 +109,7 @@ func (is *Items) Find(t *testing.T, obj fs.Object, precision time.Duration) {
|
|||||||
func (is *Items) Done(t *testing.T) {
|
func (is *Items) Done(t *testing.T) {
|
||||||
if len(is.byName) != 0 {
|
if len(is.byName) != 0 {
|
||||||
for name := range is.byName {
|
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))
|
t.Errorf("%d objects not found", len(is.byName))
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user