summaryrefslogtreecommitdiff
path: root/server/test/diagnostics/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/diagnostics/init.lua')
-rw-r--r--server/test/diagnostics/init.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/test/diagnostics/init.lua b/server/test/diagnostics/init.lua
index 97cd6ccd..36cfb3c6 100644
--- a/server/test/diagnostics/init.lua
+++ b/server/test/diagnostics/init.lua
@@ -463,3 +463,8 @@ TEST [[
local x, y, z
x = x and y or '' .. z
]]
+
+TEST [[
+local x
+x = x or -1
+]]