mirror of
https://gitee.com/johng/gf.git
synced 2024-11-30 03:07:45 +08:00
debug
This commit is contained in:
parent
e5734425ba
commit
b84ca9cc13
@ -212,8 +212,9 @@ func TestWatcher_WatchFolderWithoutRecursively(t *testing.T) {
|
|||||||
time.Sleep(time.Millisecond * 100)
|
time.Sleep(time.Millisecond * 100)
|
||||||
t.Assert(array.Len(), 0)
|
t.Assert(array.Len(), 0)
|
||||||
|
|
||||||
err = gfile.PutContents(gfile.Join(dirPath, "1"), "1")
|
f, err := gfile.Create(gfile.Join(dirPath, "1"))
|
||||||
t.AssertNil(err)
|
t.AssertNil(err)
|
||||||
|
t.AssertNil(f.Close())
|
||||||
time.Sleep(time.Millisecond * 100)
|
time.Sleep(time.Millisecond * 100)
|
||||||
t.Assert(array.Len(), 1)
|
t.Assert(array.Len(), 1)
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user