summaryrefslogtreecommitdiff
path: root/server/test/definition/function.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/definition/function.lua')
-rw-r--r--server/test/definition/function.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/test/definition/function.lua b/server/test/definition/function.lua
index 1ef6a463..5deda51c 100644
--- a/server/test/definition/function.lua
+++ b/server/test/definition/function.lua
@@ -1,18 +1,18 @@
TEST [[
function <!x!> () end
-<?x?> = 1
+<?x?>()
]]
TEST [[
local function <!x!> () end
-<?x?> = 1
+<?x?>()
]]
TEST [[
local x
local function <!x!> ()
- <?x?> = 1
+ <?x?>()
end
]]
@@ -20,5 +20,5 @@ TEST [[
local <!x!>
function x()
end
-<?x?> = 1
+<?x?>()
]]