diff --git a/dau_test.go b/dau_test.go index 1f63e78..b32190a 100644 --- a/dau_test.go +++ b/dau_test.go @@ -56,6 +56,7 @@ func TestExclsion(t *testing.T) { t.Errorf("was not zero files (%d): %v", len(files), files) } // create a new file that would not hit exclusion, and two that would + time.Sleep(time.Second) os.Create(fmt.Sprintf("%s%c%s", dir, os.PathSeparator, "b.gif")) os.Create(fmt.Sprintf("%s%c%s", dir, os.PathSeparator, "b_thumb.gif")) os.Create(fmt.Sprintf("%s%c%s", dir, os.PathSeparator, "tiny_b.jpg"))