From afaec1a2e9a8939c8285ae2a4835caddc5860933 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Tue, 29 Dec 2015 00:16:53 +0000 Subject: [PATCH] Use test logger instead of log for test output --- fstest/fstest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) }