summaryrefslogtreecommitdiff
path: root/test/code_action
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-12-24 17:03:18 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-12-24 17:03:18 +0800
commitef6c3fe05addbd299e4fc6e45cec94a83886c18f (patch)
tree9e526e2c558fab376874172aa51a00e800d4ce4b /test/code_action
parentb7344640a0ab9a07551ee5ebc435657b45659553 (diff)
downloadlua-language-server-ef6c3fe05addbd299e4fc6e45cec94a83886c18f.zip
cleanup
Diffstat (limited to 'test/code_action')
-rw-r--r--test/code_action/init.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/code_action/init.lua b/test/code_action/init.lua
index 70d8c9ec..01423850 100644
--- a/test/code_action/init.lua
+++ b/test/code_action/init.lua
@@ -38,13 +38,12 @@ end
function TEST(script)
return function (expect)
- files.removeAll()
-
local newScript, catched = catch(script, '?')
files.setText('', newScript)
local results = core('', catched['?'][1][1], catched['?'][1][2])
assert(results)
assert(eq(expect, results))
+ files.remove('')
end
end