summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-09-24 18:57:03 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-09-24 18:57:03 +0800
commit437bb61d0daf663a3eee894946f47bc550c39e52 (patch)
treeba5473818364677b117cfdbe3d5efcff7a1eb533 /test
parent1a0f6e3aa420afff9028c4db6261f8faa6fa2ba6 (diff)
downloadlua-language-server-437bb61d0daf663a3eee894946f47bc550c39e52.zip
fix #647
Diffstat (limited to 'test')
-rw-r--r--test/references/common.lua24
1 files changed, 3 insertions, 21 deletions
diff --git a/test/references/common.lua b/test/references/common.lua
index 3669486b..4245a79d 100644
--- a/test/references/common.lua
+++ b/test/references/common.lua
@@ -221,30 +221,12 @@ TEST [[
---@class A
local a
-a.<!xxx!> = 1
-
---@type A
local b
-b.xxx = 1 -- Dont search this
-
----@class C: A
-local c
-print(c.<?xxx?>)
-]]
-
-TEST [[
----@class A
-local <?a?>
-
----@class B
-local b
-
-b.xx = 1 -- Dont search this
-
----@type B
+---@type A
local c
----@type A
-c.<!xx!> = 1
+b.<?x?> = 1
+c.<!x!> = 1
]]