summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/other/filewatch.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/other/filewatch.lua b/test/other/filewatch.lua
index 0a9bdabf..66a9ccbc 100644
--- a/test/other/filewatch.lua
+++ b/test/other/filewatch.lua
@@ -35,6 +35,7 @@ local f <close> = io.open((path / 'test.txt'):string(), 'w')
assert(f)
f:write('xxx')
f:flush()
+f:close()
thread.sleep(1)
events = {}