diff --git a/dau_test.go b/dau_test.go index 8d0f528..a17c3d8 100644 --- a/dau_test.go +++ b/dau_test.go @@ -31,7 +31,7 @@ func TestWatchNewFiles(t *testing.T) { os.Create(fmt.Sprintf("%s%c%s", dir, os.PathSeparator, "b.gif")) files = w.ProcessNewFiles() if len(files) != 1 { - t.Error("was not one file") + t.Errorf("was not one file - got: %v", files) } if files[0] != fmt.Sprintf("%s%c%s", dir, os.PathSeparator, "b.gif") { t.Error("wrong file")