1
mirror of https://github.com/rclone/rclone synced 2024-11-25 02:47:14 +01:00

Use test logger instead of log for test output

This commit is contained in:
Nick Craig-Wood 2015-12-29 00:16:53 +00:00
parent ddf39f2d57
commit afaec1a2e9

View File

@ -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))
}