summaryrefslogtreecommitdiff
path: root/script/test/definition/set.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-11-23 00:05:30 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-11-23 00:05:30 +0800
commit6da2b175e20ed3c03b0dfcfc9046de1e0e5d4444 (patch)
treefdc22d78150fd1c5edc46732c8b151ccfefb519f /script/test/definition/set.lua
parentd0ff66c9abe9d6abbca12fd811e0c3cb69c1033a (diff)
downloadlua-language-server-6da2b175e20ed3c03b0dfcfc9046de1e0e5d4444.zip
正路目录
Diffstat (limited to 'script/test/definition/set.lua')
-rw-r--r--script/test/definition/set.lua50
1 files changed, 0 insertions, 50 deletions
diff --git a/script/test/definition/set.lua b/script/test/definition/set.lua
deleted file mode 100644
index 44277d33..00000000
--- a/script/test/definition/set.lua
+++ /dev/null
@@ -1,50 +0,0 @@
-TEST [[
-<!x!> = 1
-<?x?>()
-]]
-
-TEST [[
-do
- <!global!> = 1
-end
-<?global?>()
-]]
-
-TEST [[
-<!x!> = 1
-do
- local x = 1
-end
-<?x?>()
-]]
-
-TEST [[
-x = 1
-do
- local <!x!> = 1
- do
- <!x!> = 2
- end
- <?x?>()
-end
-]]
-
-TEST [[
-<!x!> = 1
-if y then
- <!x!> = 2
-else
- <!x!> = 3
-end
-print(<?x?>)
-]]
-
-TEST [[
-_G.<!x!> = 1
-print(<?x?>)
-]]
-
-TEST [[
-rawset<!(_G, 'x', 1)!>
-print(<?x?>)
-]]