summaryrefslogtreecommitdiff
path: root/server/test/references/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/references/init.lua')
-rw-r--r--server/test/references/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/test/references/init.lua b/server/test/references/init.lua
index c512ca5d..6b53decb 100644
--- a/server/test/references/init.lua
+++ b/server/test/references/init.lua
@@ -38,7 +38,7 @@ function TEST(script)
local finish = script:find('?>', 1, true)
local pos = (start + finish) // 2 + 1
local new_script = script:gsub('<[!?]', ' '):gsub('[!?]>', ' ')
- local ast = parser:ast(new_script)
+ local ast = parser:ast(new_script, 'lua', 'Lua 5.4')
assert(ast)
local vm = buildVM(ast)
assert(vm)