summaryrefslogtreecommitdiff
path: root/server/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-11 14:04:53 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-11 14:04:53 +0800
commita88ec1e85da0207ae4b1a481c4fb8ea8e0c829b6 (patch)
tree9a060ac7a7871848c86589129aa0aa878c47914a /server/test
parentc009af6f26e4bc52b99544d069a70de79b60ee1c (diff)
downloadlua-language-server-a88ec1e85da0207ae4b1a481c4fb8ea8e0c829b6.zip
修正bug
Diffstat (limited to 'server/test')
-rw-r--r--server/test/definition/arg.lua6
-rw-r--r--server/test/definition/function.lua2
2 files changed, 1 insertions, 7 deletions
diff --git a/server/test/definition/arg.lua b/server/test/definition/arg.lua
index 9dc91f2d..3d92da9a 100644
--- a/server/test/definition/arg.lua
+++ b/server/test/definition/arg.lua
@@ -5,12 +5,6 @@ end
]]
TEST [[
-local function x (x, <!...!>)
- x = <?...?>
-end
-]]
-
-TEST [[
local <!mt!>
function mt:x()
<?self?>()
diff --git a/server/test/definition/function.lua b/server/test/definition/function.lua
index 5deda51c..aae5786f 100644
--- a/server/test/definition/function.lua
+++ b/server/test/definition/function.lua
@@ -3,7 +3,7 @@ TEST [[
function <!x!> () end
<?x?>()
]]
-
+
TEST [[
local function <!x!> () end
<?x?>()