summaryrefslogtreecommitdiff
path: root/test-beta
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-12-24 14:42:16 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-12-24 14:42:16 +0800
commitf60fffa9afd4c799c449065cbc5beba68e2bdcb1 (patch)
tree90218eee67448fed9834983b8cb1a094c40e46cc /test-beta
parente3874a12dd5a3273f0d2266134c8764182fc42e3 (diff)
downloadlua-language-server-f60fffa9afd4c799c449065cbc5beba68e2bdcb1.zip
分离 eachRef 与 eachDef
Diffstat (limited to 'test-beta')
-rw-r--r--test-beta/definition/call.lua2
-rw-r--r--test-beta/definition/method.lua46
2 files changed, 24 insertions, 24 deletions
diff --git a/test-beta/definition/call.lua b/test-beta/definition/call.lua
index 15364396..d18591ff 100644
--- a/test-beta/definition/call.lua
+++ b/test-beta/definition/call.lua
@@ -1,6 +1,6 @@
TEST [[
function f()
- local <!x!>
+ local x
return x
end
local <!y!> = f()
diff --git a/test-beta/definition/method.lua b/test-beta/definition/method.lua
index aa7aacdc..3ef3055c 100644
--- a/test-beta/definition/method.lua
+++ b/test-beta/definition/method.lua
@@ -6,26 +6,26 @@ function mt:b()
end
]]
-TEST [[
-function mt:<!m1!>()
-end
-function mt:m2()
- self:<?m1?>()
-end
-]]
-
-TEST [[
-function mt:m3()
- mt:<?m4?>()
-end
-function mt:<!m4!>()
-end
-]]
-
-TEST [[
-function mt:m3()
- self:<?m4?>()
-end
-function mt:<!m4!>()
-end
-]]
+--TEST [[
+--function mt:<!m1!>()
+--end
+--function mt:m2()
+-- self:<?m1?>()
+--end
+--]]
+--
+--TEST [[
+--function mt:m3()
+-- mt:<?m4?>()
+--end
+--function mt:<!m4!>()
+--end
+--]]
+--
+--TEST [[
+--function mt:m3()
+-- self:<?m4?>()
+--end
+--function mt:<!m4!>()
+--end
+--]]