From 51abedd45f53ce0c8d6646b4fee2f12d545aa468 Mon Sep 17 00:00:00 2001 From: sumneko Date: Thu, 18 Apr 2019 18:32:14 +0800 Subject: =?UTF-8?q?=E5=85=88=E5=B1=8F=E8=94=BD=E6=8E=89=20EmmyLua=20?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E5=8A=9F=E8=83=BD=EF=BC=8C=E5=87=86=E5=A4=87?= =?UTF-8?q?=E8=BD=AC=E5=85=A5=E5=9C=B0=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/test/diagnostics/init.lua | 44 ++++++++++++++++++++-------------------- server/test/hover/init.lua | 14 ++++++------- 2 files changed, 29 insertions(+), 29 deletions(-) (limited to 'server/test') 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 -]] - -TEST [[ ----@class A : -]] - -TEST [[ ----@class ----@class ----@class ----@class -]] - -TEST [[ ----@class A : B ----@class B : C ----@class C : D ----@class D -]] +--TEST [[ +-----@class +-----@class +--]] +-- +--TEST [[ +-----@class A : +--]] +-- +--TEST [[ +-----@class +-----@class +-----@class +-----@class +--]] +-- +--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(table: table [, index: any]) -> key: any, value: any ]] -TEST[[ ----@class Class -local = class() -]] -[[ -local x: *Class -]] +--TEST[[ +-----@class Class +--local = class() +--]] +--[[ +--local x: *Class +--]] -- cgit v1.2.3