summaryrefslogtreecommitdiff
path: root/test/implementation
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-11-20 14:01:23 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-11-20 14:01:23 +0800
commit307700732c915fc81de4ff60513b89735f882567 (patch)
treeb9a9c910ba20d44316764cd0de84f8d03601c8d5 /test/implementation
parent8d5bc3299d3bc02f3ff295efc22d9b00f373af7f (diff)
downloadlua-language-server-307700732c915fc81de4ff60513b89735f882567.zip
跳过同级的逻辑分支
Diffstat (limited to 'test/implementation')
-rw-r--r--test/implementation/if.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/implementation/if.lua b/test/implementation/if.lua
index e69de29b..0c7eefc8 100644
--- a/test/implementation/if.lua
+++ b/test/implementation/if.lua
@@ -0,0 +1,8 @@
+TEST [[
+<!x!> = 1
+if 1 then
+ x = 1
+else
+ <?x?> = 1
+end
+]]