summaryrefslogtreecommitdiff
path: root/test/command
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/command
parentb7344640a0ab9a07551ee5ebc435657b45659553 (diff)
downloadlua-language-server-ef6c3fe05addbd299e4fc6e45cec94a83886c18f.zip
cleanup
Diffstat (limited to 'test/command')
-rw-r--r--test/command/auto-require.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/command/auto-require.lua b/test/command/auto-require.lua
index 8543a6ab..9dd19bd2 100644
--- a/test/command/auto-require.lua
+++ b/test/command/auto-require.lua
@@ -16,12 +16,12 @@ end
function TEST(text)
return function (name)
return function (expect)
- files.removeAll()
files.setText('', text)
EditResult = nil
local row, fmt = findInsertRow('')
applyAutoRequire('', row, name, name, fmt)
assert(util.equal(EditResult, expect))
+ files.remove('')
end
end
end