diff options
Diffstat (limited to 'server/test/completion')
-rw-r--r-- | server/test/completion/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua index 2f965bcb..a36d0cd5 100644 --- a/server/test/completion/init.lua +++ b/server/test/completion/init.lua @@ -103,7 +103,7 @@ function TEST(script) return function (expect) local pos = script:find('@', 1, true) - 1 local new_script = script:gsub('@', ' ') - local ast = parser:ast(new_script) + local ast = parser:ast(new_script, 'lua', 'Lua 5.4') local vm = buildVM(ast) assert(vm) local word = findWord(pos, new_script) |