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/completion | |
parent | b7344640a0ab9a07551ee5ebc435657b45659553 (diff) | |
download | lua-language-server-ef6c3fe05addbd299e4fc6e45cec94a83886c18f.zip |
cleanup
Diffstat (limited to 'test/completion')
-rw-r--r-- | test/completion/init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/completion/init.lua b/test/completion/init.lua index 11d39252..52b5f02c 100644 --- a/test/completion/init.lua +++ b/test/completion/init.lua @@ -65,7 +65,6 @@ ContinueTyping = false function TEST(script) return function (expect) ---@diagnostic disable: await-in-sync - files.removeAll() local newScript, catched = catch(script, '?') files.setText('', newScript) @@ -77,6 +76,8 @@ function TEST(script) end local triggerCharacter = script:sub(inputPos, inputPos) local result = core.completion('', inputPos, triggerCharacter) + + files.remove('') if not expect then assert(result == nil) return |