mirror of
https://github.com/rclone/rclone
synced 2025-03-30 15:56:10 +02:00
Use test logger instead of log for test output
This commit is contained in:
parent
ddf39f2d57
commit
afaec1a2e9
@ -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))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user