summaryrefslogtreecommitdiff
path: root/server/test/full
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-03 20:42:40 +0800
committersumneko <sumneko@hotmail.com>2019-04-03 20:42:40 +0800
commit8989f2503db172023f14ab1715709267fe87e371 (patch)
treeb48127faf70d8c1f2d12c68351446208f30334d1 /server/test/full
parent46e2b37d95bd14394b0a10f7c198e559d209aaa3 (diff)
downloadlua-language-server-8989f2503db172023f14ab1715709267fe87e371.zip
检测未定义变量
Diffstat (limited to 'server/test/full')
-rw-r--r--server/test/full/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/test/full/init.lua b/server/test/full/init.lua
index 2c92e90b..342ac331 100644
--- a/server/test/full/init.lua
+++ b/server/test/full/init.lua
@@ -4,7 +4,7 @@ local parser = require 'parser'
rawset(_G, 'TEST', true)
function TEST(script)
- local ast = parser:ast(script, 'lua', 'Lua 5.4')
+ local ast = parser:ast(script, 'lua', 'Lua 5.3')
assert(ast)
local vm, err = buildVM(ast)
assert(vm, err)