summaryrefslogtreecommitdiff
path: root/test/type_inference/init.lua
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/type_inference/init.lua
parentb7344640a0ab9a07551ee5ebc435657b45659553 (diff)
downloadlua-language-server-ef6c3fe05addbd299e4fc6e45cec94a83886c18f.zip
cleanup
Diffstat (limited to 'test/type_inference/init.lua')
-rw-r--r--test/type_inference/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index d62bc607..ef2d1f62 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -23,7 +23,6 @@ end
function TEST(wanted)
return function (script)
- files.removeAll()
local newScript, catched = catch(script, '?')
files.setText('', newScript)
local source = getSource(catched['?'][1][1])
@@ -33,6 +32,7 @@ function TEST(wanted)
infer.searchAndViewInfers(source)
end
assert(wanted == result)
+ files.remove('')
end
end