summaryrefslogtreecommitdiff
path: root/test/signature
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/signature
parentb7344640a0ab9a07551ee5ebc435657b45659553 (diff)
downloadlua-language-server-ef6c3fe05addbd299e4fc6e45cec94a83886c18f.zip
cleanup
Diffstat (limited to 'test/signature')
-rw-r--r--test/signature/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/signature/init.lua b/test/signature/init.lua
index aa9d9094..34aed96d 100644
--- a/test/signature/init.lua
+++ b/test/signature/init.lua
@@ -9,7 +9,6 @@ function TEST(script)
return function (expect)
local newScript, catched1 = catch(script, '?')
local newExpect, catched2 = catch(expect or '', '!')
- files.removeAll()
files.setText('', newScript)
local hovers = core('', catched1['?'][1][1])
if hovers then
@@ -24,6 +23,7 @@ function TEST(script)
else
assert(expect == nil)
end
+ files.remove('')
end
end