diff options
author | sumneko <sumneko@hotmail.com> | 2019-04-22 20:18:27 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-04-22 20:18:27 +0800 |
commit | 659cc0e395719b2816615f1f8efc750292105144 (patch) | |
tree | 27546a483adf6353ee9d8ceff51b9c2e8646440f /server/test/definition | |
parent | 57eefd5142fab69c1e575917945fd3aded42f5ca (diff) | |
download | lua-language-server-659cc0e395719b2816615f1f8efc750292105144.zip |
更新 EmmyTypeUnit
Diffstat (limited to 'server/test/definition')
-rw-r--r-- | server/test/definition/function.lua | 2 | ||||
-rw-r--r-- | server/test/definition/init.lua | 2 | ||||
-rw-r--r-- | server/test/definition/set.lua | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/server/test/definition/function.lua b/server/test/definition/function.lua index aae5786f..ce20f50b 100644 --- a/server/test/definition/function.lua +++ b/server/test/definition/function.lua @@ -18,7 +18,7 @@ end TEST [[ local <!x!> -function x() +function <!x!>() end <?x?>() ]] diff --git a/server/test/definition/init.lua b/server/test/definition/init.lua index cad120f7..1ff5881e 100644 --- a/server/test/definition/init.lua +++ b/server/test/definition/init.lua @@ -45,7 +45,7 @@ function TEST(script) local vm = buildVM(ast) assert(vm) - local positions = core.definition(vm, pos, 'definition', nil) + local positions = core.definition(vm, pos, 'definition') if positions then assert(founded(target, positions)) else diff --git a/server/test/definition/set.lua b/server/test/definition/set.lua index 54df1e7a..44277d33 100644 --- a/server/test/definition/set.lua +++ b/server/test/definition/set.lua @@ -23,7 +23,7 @@ x = 1 do local <!x!> = 1 do - x = 2 + <!x!> = 2 end <?x?>() end |