mirror of https://github.com/spf13/afero.git
should work now with the changes from #56
This commit is contained in:
parent
a02a38ffba
commit
aa1ab255d2
|
@ -131,8 +131,9 @@ func TestUnionCacheExpire(t *testing.T) {
|
|||
fh.Close()
|
||||
|
||||
fh, _ = base.Create("/data/file.txt")
|
||||
fh.WriteString("Another test")
|
||||
// sleep some time, so we really get a different time.Now() on write...
|
||||
time.Sleep(2 * time.Second)
|
||||
fh.WriteString("Another test")
|
||||
fh.Close()
|
||||
|
||||
data, _ := ReadFile(ufs, "/data/file.txt")
|
||||
|
|
Loading…
Reference in New Issue