diff options
author | sumneko <sumneko@hotmail.com> | 2019-04-18 18:32:14 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-04-18 18:32:14 +0800 |
commit | 51abedd45f53ce0c8d6646b4fee2f12d545aa468 (patch) | |
tree | 705630cdd33437297f20f0093566ff10cdf877c7 /server/test | |
parent | ad589216b9c5bcd1fe32599004e88675311c0c99 (diff) | |
download | lua-language-server-51abedd45f53ce0c8d6646b4fee2f12d545aa468.zip |
先屏蔽掉 EmmyLua 相关功能,准备转入地下
Diffstat (limited to 'server/test')
-rw-r--r-- | server/test/diagnostics/init.lua | 44 | ||||
-rw-r--r-- | server/test/hover/init.lua | 14 |
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 +--]] |