summaryrefslogtreecommitdiff
path: root/server/test/definition/set.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/definition/set.lua')
-rw-r--r--server/test/definition/set.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/server/test/definition/set.lua b/server/test/definition/set.lua
index 294a92ca..82dc4828 100644
--- a/server/test/definition/set.lua
+++ b/server/test/definition/set.lua
@@ -28,3 +28,13 @@ do
<?x?>()
end
]]
+
+TEST [[
+<!x!> = 1
+if y then
+ <!x!> = 2
+else
+ <!x!> = 3
+end
+print(<?x?>)
+]]