summaryrefslogtreecommitdiff
path: root/server/test/definition/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/definition/init.lua')
-rw-r--r--server/test/definition/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/test/definition/init.lua b/server/test/definition/init.lua
index e5dccd4f..11a79391 100644
--- a/server/test/definition/init.lua
+++ b/server/test/definition/init.lua
@@ -45,7 +45,7 @@ function TEST(script)
local finish = script:find('?>', 1, true)
local pos = (start + finish) // 2 + 1
local new_script = script:gsub('<[!?]', ' '):gsub('[!?]>', ' ')
- local ast, err = parser:ast(new_script)
+ local ast = parser:ast(new_script)
assert(ast)
local results = matcher.compile(ast)
assert(results)