diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-02-17 20:56:31 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-02-17 20:56:31 +0800 |
commit | 6e0a877b54dd66ce57f8fc07aeb11ee7ba48a907 (patch) | |
tree | e179039e0e09994b4788a133dba3107edfeff4dc /test/definition | |
parent | 44b36c5c1232086efe15853a4eb47bdf1ca4b046 (diff) | |
download | lua-language-server-6e0a877b54dd66ce57f8fc07aeb11ee7ba48a907.zip |
cleanup
Diffstat (limited to 'test/definition')
-rw-r--r-- | test/definition/table.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/definition/table.lua b/test/definition/table.lua index 61e8746d..0fb76191 100644 --- a/test/definition/table.lua +++ b/test/definition/table.lua @@ -134,6 +134,22 @@ local y = { t.<?insert?>() ]] + +TEST [[ +local x +x.y.<!z!> = 1 +print(x.y.<?z?>) +]] + + +TEST [[ +local x +x.y = { + <!z!> = 1 +} +print(x.y.<?z?>) +]] + TEST [[ local function f() local t = {} |