summaryrefslogtreecommitdiff
path: root/server/test
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-18 18:32:14 +0800
committersumneko <sumneko@hotmail.com>2019-04-18 18:32:14 +0800
commit51abedd45f53ce0c8d6646b4fee2f12d545aa468 (patch)
tree705630cdd33437297f20f0093566ff10cdf877c7 /server/test
parentad589216b9c5bcd1fe32599004e88675311c0c99 (diff)
downloadlua-language-server-51abedd45f53ce0c8d6646b4fee2f12d545aa468.zip
先屏蔽掉 EmmyLua 相关功能,准备转入地下
Diffstat (limited to 'server/test')
-rw-r--r--server/test/diagnostics/init.lua44
-rw-r--r--server/test/hover/init.lua14
2 files changed, 29 insertions, 29 deletions
diff --git a/server/test/diagnostics/init.lua b/server/test/diagnostics/init.lua
index 7bb25f00..3eb0b19e 100644
--- a/server/test/diagnostics/init.lua
+++ b/server/test/diagnostics/init.lua
@@ -333,25 +333,25 @@ local function x()
end
]]
-TEST [[
----@class <!Class!>
----@class <!Class!>
-]]
-
-TEST [[
----@class A : <!B!>
-]]
-
-TEST [[
----@class <!A : B!>
----@class <!B : C!>
----@class <!C : D!>
----@class <!D : A!>
-]]
-
-TEST [[
----@class A : B
----@class B : C
----@class C : D
----@class D
-]]
+--TEST [[
+-----@class <!Class!>
+-----@class <!Class!>
+--]]
+--
+--TEST [[
+-----@class A : <!B!>
+--]]
+--
+--TEST [[
+-----@class <!A : B!>
+-----@class <!B : C!>
+-----@class <!C : D!>
+-----@class <!D : A!>
+--]]
+--
+--TEST [[
+-----@class A : B
+-----@class B : C
+-----@class C : D
+-----@class D
+--]]
diff --git a/server/test/hover/init.lua b/server/test/hover/init.lua
index df9b9586..fbbbeb82 100644
--- a/server/test/hover/init.lua
+++ b/server/test/hover/init.lua
@@ -465,10 +465,10 @@ function n<next>(table: table [, index: any])
-> key: any, value: any
]]
-TEST[[
----@class Class
-local <?x?> = class()
-]]
-[[
-local x: *Class
-]]
+--TEST[[
+-----@class Class
+--local <?x?> = class()
+--]]
+--[[
+--local x: *Class
+--]]