diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-12-24 17:03:18 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-12-24 17:03:18 +0800 |
commit | ef6c3fe05addbd299e4fc6e45cec94a83886c18f (patch) | |
tree | 9e526e2c558fab376874172aa51a00e800d4ce4b /test/diagnostics | |
parent | b7344640a0ab9a07551ee5ebc435657b45659553 (diff) | |
download | lua-language-server-ef6c3fe05addbd299e4fc6e45cec94a83886c18f.zip |
cleanup
Diffstat (limited to 'test/diagnostics')
-rw-r--r-- | test/diagnostics/init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua index 16c85a63..8c8dbcf6 100644 --- a/test/diagnostics/init.lua +++ b/test/diagnostics/init.lua @@ -28,7 +28,6 @@ end ---@diagnostic disable: await-in-sync function TEST(script, ...) - files.removeAll() local newScript, catched = catch(script, '!') files.setText('', newScript) files.open('') @@ -50,6 +49,8 @@ function TEST(script, ...) else assert(catched['!'] == nil) end + + files.remove('') end TEST [[ |