summaryrefslogtreecommitdiff
path: root/test/other/filewatch.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/other/filewatch.lua')
-rw-r--r--test/other/filewatch.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/other/filewatch.lua b/test/other/filewatch.lua
index f5d5a03d..e751c715 100644
--- a/test/other/filewatch.lua
+++ b/test/other/filewatch.lua
@@ -17,7 +17,7 @@ fw.event(function (ev, filename)
events[#events+1] = {ev, filename}
end)
-thread.sleep(1)
+thread.sleep(1000)
events = {}
fw.update()
assert(#events == 1)
@@ -25,7 +25,7 @@ assert(events[1][1] == 'create')
fsu.saveFile(path / 'test.txt', 'modify')
-thread.sleep(1)
+thread.sleep(1000)
events = {}
fw.update()
assert(#events == 1)
@@ -37,7 +37,7 @@ f:write('xxx')
f:flush()
f:close()
-thread.sleep(1)
+thread.sleep(1000)
events = {}
fw.update()
assert(#events == 1)