summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-11-23 21:11:03 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-11-23 21:11:03 +0800
commit43543718546dcdc590b9f13a02f79f22132b0b37 (patch)
tree8249cdcd535cb11882eb70c00dc582e0835e4db8
parent461f64acc47ff90f072e48e4391ace2e81c3ab8e (diff)
downloadlua-language-server-43543718546dcdc590b9f13a02f79f22132b0b37.zip
OK, close the file
-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 = {}