diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-06 17:23:27 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-06 17:23:27 +0800 |
commit | 33559d7c87c5daf6dbb31b8d005f33ed6b27ace2 (patch) | |
tree | f245b14cf878db16795a742f8ed82293a76c57f4 /test-beta/rename/init.lua | |
parent | 35962bc062fb778dd4038c9d8d50ea7d601453e1 (diff) | |
download | lua-language-server-33559d7c87c5daf6dbb31b8d005f33ed6b27ace2.zip |
整理代码
Diffstat (limited to 'test-beta/rename/init.lua')
-rw-r--r-- | test-beta/rename/init.lua | 55 |
1 files changed, 28 insertions, 27 deletions
diff --git a/test-beta/rename/init.lua b/test-beta/rename/init.lua index 5ca0ca15..f19af4cf 100644 --- a/test-beta/rename/init.lua +++ b/test-beta/rename/init.lua @@ -82,33 +82,34 @@ local function f(b) end ]] -TEST ('a', '!!!') [[ -t = { - a = 0 -} -t.a = 1 -a = t.a -]] [[ -t = { - ["!!!"] = 0 -} -t["!!!"] = 1 -a = t["!!!"] -]] - -TEST ('a', '!!!') [[ -t = { - ['a'] = 0 -} -t.a = 1 -a = t.a -]] [[ -t = { - ['!!!'] = 0 -} -t["!!!"] = 1 -a = t["!!!"] -]] +-- TODO +--TEST ('a', '!!!') [[ +--t = { +-- a = 0 +--} +--t.a = 1 +--a = t.a +--]] [[ +--t = { +-- ["!!!"] = 0 +--} +--t["!!!"] = 1 +--a = t["!!!"] +--]] + +--TEST ('a', '!!!') [[ +--t = { +-- ['a'] = 0 +--} +--t.a = 1 +--a = t.a +--]] [[ +--t = { +-- ['!!!'] = 0 +--} +--t["!!!"] = 1 +--a = t["!!!"] +--]] TEST ('a', '"') [[ print(t[ "a" ]) |