diff options
Diffstat (limited to 'server/test/completion/init.lua')
-rw-r--r-- | server/test/completion/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua index 4d1c3e64..46544b36 100644 --- a/server/test/completion/init.lua +++ b/server/test/completion/init.lua @@ -62,7 +62,7 @@ rawset(_G, 'TEST', true) function TEST(script) return function (expect) local pos = script:find('@', 1, true) - local new_script = script:gsub('@', '') + local new_script = script:gsub('@', ' ') local ast = parser:ast(new_script) local vm = matcher.vm(ast) assert(vm) @@ -433,7 +433,7 @@ fff[#ff@] kind = CompletionItemKind.Snippet, textEdit = { start = 6, - finish = 8, + finish = 9, newText = 'fff+1] = ', }, }, |