diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-11-23 21:11:03 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-11-23 21:11:03 +0800 |
commit | 43543718546dcdc590b9f13a02f79f22132b0b37 (patch) | |
tree | 8249cdcd535cb11882eb70c00dc582e0835e4db8 | |
parent | 461f64acc47ff90f072e48e4391ace2e81c3ab8e (diff) | |
download | lua-language-server-43543718546dcdc590b9f13a02f79f22132b0b37.zip |
OK, close the file
-rw-r--r-- | test/other/filewatch.lua | 1 |
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 = {} |